mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 14:10:52 +01:00
Moved database schemas from src-tauri/database/schemas/ to src/database/schemas/ to fix bundling issues and resolved circular import dependency that caused "Cannot access uninitialized variable" error in production builds. Key changes: - Moved crdtColumnNames definition into haex.ts to break circular dependency - Restored .$defaultFn(() => crypto.randomUUID()) calls - Kept AnySQLiteColumn type annotations - Removed obsolete TDZ fix script (no longer needed) - Updated all import paths across stores and configuration files
58 lines
1.1 KiB
JSON
58 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "haex-hub",
|
|
"version": "0.1.3",
|
|
"identifier": "space.haex.hub",
|
|
"build": {
|
|
"beforeDevCommand": "pnpm dev",
|
|
"devUrl": "http://localhost:3003",
|
|
"beforeBuildCommand": "pnpm generate",
|
|
"frontendDist": "../.output/public"
|
|
},
|
|
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "haex-hub",
|
|
"width": 800,
|
|
"height": 600,
|
|
"devtools": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null,
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": ["$APPDATA", "$RESOURCE"]
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["deb"],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": ["database/vault.db"],
|
|
|
|
"linux": {
|
|
"appimage": {
|
|
"bundleMediaFramework": false,
|
|
"files": {}
|
|
},
|
|
"deb": {
|
|
"files": {}
|
|
},
|
|
"rpm": {
|
|
"epoch": 0,
|
|
"files": {},
|
|
"release": "1"
|
|
}
|
|
}
|
|
}
|
|
}
|