mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-16 22:20:51 +01:00
- Add missing filesystem permissions in capabilities - fs:allow-applocaldata-read-recursive - fs:allow-applocaldata-write-recursive - fs:allow-write-file - fs:allow-mkdir - fs:allow-exists - fs:allow-remove - Fix Android photo picker URI handling - Detect file type from binary signature (PNG, JPEG, WebP) - Use manual path construction to avoid path joining issues - Works with Android photo picker content:// URIs - Improve error handling with detailed toast messages - Show specific error at each step (read, mkdir, write, db) - Better debugging on Android where console is unavailable - Fix window activation behavior - Restore minimized windows when activated - Remove unused imports in launcher component
53 lines
1.5 KiB
JSON
53 lines
1.5 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:webview:allow-create-webview-window",
|
|
"core:webview:allow-create-webview",
|
|
"core:webview:allow-webview-show",
|
|
"core:webview:default",
|
|
"core:window:allow-create",
|
|
"core:window:allow-get-all-windows",
|
|
"core:window:allow-show",
|
|
"core:window:default",
|
|
"dialog:default",
|
|
"fs:allow-appconfig-read-recursive",
|
|
"fs:allow-appconfig-write-recursive",
|
|
"fs:allow-appdata-read-recursive",
|
|
"fs:allow-appdata-write-recursive",
|
|
"fs:allow-applocaldata-read-recursive",
|
|
"fs:allow-applocaldata-write-recursive",
|
|
"fs:allow-read-file",
|
|
"fs:allow-write-file",
|
|
"fs:allow-read-dir",
|
|
"fs:allow-mkdir",
|
|
"fs:allow-exists",
|
|
"fs:allow-remove",
|
|
"fs:allow-resource-read-recursive",
|
|
"fs:allow-resource-write-recursive",
|
|
"fs:allow-download-read-recursive",
|
|
"fs:allow-download-write-recursive",
|
|
"fs:default",
|
|
{
|
|
"identifier": "fs:scope",
|
|
"allow": [{ "path": "**" }]
|
|
},
|
|
"http:allow-fetch-send",
|
|
"http:allow-fetch",
|
|
"http:default",
|
|
"notification:allow-create-channel",
|
|
"notification:allow-list-channels",
|
|
"notification:allow-notify",
|
|
"notification:allow-is-permission-granted",
|
|
"notification:default",
|
|
"opener:allow-open-url",
|
|
"opener:default",
|
|
"os:allow-hostname",
|
|
"os:default",
|
|
"store:default"
|
|
]
|
|
}
|