mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
40 lines
659 B
JSON
40 lines
659 B
JSON
{
|
|
"identifier": "run-app",
|
|
"description": "app capability",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
{
|
|
"identifier": "fs:read",
|
|
"allow": [
|
|
{
|
|
"path": "$HOME/.config/**"
|
|
}
|
|
]
|
|
},
|
|
"fs:deny-home",
|
|
{
|
|
"identifier": "fs:allow-read-resources",
|
|
"deny": [
|
|
{
|
|
"path": "$RESOURCE/**/*.key"
|
|
}
|
|
]
|
|
},
|
|
"fs:allow-move-temp",
|
|
{
|
|
"identifier": "fs:allow-app",
|
|
"allow": [
|
|
{
|
|
"path": "$APPDATA/**"
|
|
}
|
|
],
|
|
"deny": [
|
|
{
|
|
"path": "$APPDATA/*.db"
|
|
}
|
|
]
|
|
},
|
|
"fs:read-download-dir"
|
|
]
|
|
}
|