- Add tauri-plugin-store for portable data storage - Implement portable data directory (TypoGenie-Data/ next to EXE) - Configure Rust backend to use EXE-relative paths - Add store permissions for persistent settings - Update README with portable badges and documentation - Document how to build and use the portable EXE - Zero registry, zero AppData, fully self-contained
66 lines
1.2 KiB
JSON
66 lines
1.2 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Default capabilities for TypoGenie portable app",
|
|
"windows": [
|
|
"main"
|
|
],
|
|
"permissions": [
|
|
"core:default",
|
|
"dialog:default",
|
|
"dialog:allow-open",
|
|
"dialog:allow-save",
|
|
"fs:default",
|
|
"fs:allow-read-file",
|
|
"fs:allow-write-file",
|
|
"fs:allow-read-dir",
|
|
"fs:allow-copy-file",
|
|
"fs:allow-remove",
|
|
"fs:allow-rename",
|
|
"fs:allow-exists",
|
|
"fs:allow-mkdir",
|
|
"fs:allow-applocaldata-read",
|
|
"fs:allow-applocaldata-write",
|
|
"store:default",
|
|
"store:allow-get",
|
|
"store:allow-set",
|
|
"store:allow-save",
|
|
"store:allow-load",
|
|
{
|
|
"identifier": "fs:scope",
|
|
"allow": [
|
|
{
|
|
"path": "$EXE/**"
|
|
},
|
|
{
|
|
"path": "$EXE/../**"
|
|
},
|
|
{
|
|
"path": "$HOME"
|
|
},
|
|
{
|
|
"path": "$HOME/**"
|
|
},
|
|
{
|
|
"path": "$DESKTOP"
|
|
},
|
|
{
|
|
"path": "$DESKTOP/**"
|
|
},
|
|
{
|
|
"path": "$DOCUMENT"
|
|
},
|
|
{
|
|
"path": "$DOCUMENT/**"
|
|
},
|
|
{
|
|
"path": "$DOWNLOAD"
|
|
},
|
|
{
|
|
"path": "$DOWNLOAD/**"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|