Files
typogenie/src-tauri/capabilities/default.json
TypoGenie a2631ac473 feat: Make app fully portable
- 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
2026-01-29 18:36:48 +02:00

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/**"
}
]
}
]
}