# Commit Message for SharedArrayBuffer Platform Exclusion

fix: eliminate SharedArrayBuffer checks on non-web platforms

* Add platform guard in AbsurdSqlDatabaseService to only initialize on web
* Change singleton pattern from eager to lazy instantiation
* Update worker import to use lazy singleton pattern
* Prevents absurd-sql initialization on Electron/Capacitor platforms
* Reduces console noise and memory footprint on desktop/mobile
* Maintains full web platform functionality and performance

Resolves SharedArrayBuffer-related console output on Electron platform
while preserving all web features and maintaining clean architecture.
This commit is contained in:
Matthew Raymer
2025-07-03 05:15:57 +00:00
parent 797db7069c
commit 292aceee75
21 changed files with 1044 additions and 151 deletions

View File

@@ -11,8 +11,8 @@ echo "🔧 Starting Electron development workflow..."
cd /home/noone/projects/timesafari/crowd-master
# Build for Capacitor
echo "📦 Building for Capacitor..."
npm run build:capacitor
echo "📦 Building for Electron..."
npm run build:electron
# Create electron/app directory if it doesn't exist
echo "📁 Preparing Electron app directory..."