forked from jsnbuchanan/crowd-funder-for-time-pwa
- Implement XDG Base Directory Specification for data storage - Use $XDG_DATA_HOME (defaults to ~/.local/share) for data files - Add proper directory permissions (700) for security - Fallback to ~/.timesafari if XDG paths fail - Add graceful degradation for SQLite failures - Allow app to boot even if SQLite initialization fails - Track and expose initialization errors via IPC - Add availability checks to all SQLite operations - Improve error reporting and logging - Security improvements - Set secure permissions (700) on data directories - Verify directory permissions on existing paths - Add proper error handling for permission issues TODO: - Fix database creation - Add retry logic for initialization - Add reinitialization capability - Add more detailed error reporting - Consider fallback storage options
28 lines
503 B
JSON
28 lines
503 B
JSON
{
|
|
"appId": "com.yourdoamnin.yourapp",
|
|
"directories": {
|
|
"buildResources": "resources"
|
|
},
|
|
"files": [
|
|
"assets/**/*",
|
|
"build/**/*",
|
|
"capacitor.config.*",
|
|
"app/**/*"
|
|
],
|
|
"publish": {
|
|
"provider": "github"
|
|
},
|
|
"nsis": {
|
|
"allowElevation": true,
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true
|
|
},
|
|
"win": {
|
|
"target": "nsis",
|
|
"icon": "assets/appIcon.ico"
|
|
},
|
|
"mac": {
|
|
"category": "your.app.category.type",
|
|
"target": "dmg"
|
|
}
|
|
} |