mirror of
https://github.com/readest/readest.git
synced 2026-04-29 03:50:52 +00:00
53 lines
No EOL
1 KiB
JSON
53 lines
No EOL
1 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "enables the default permissions",
|
|
"windows": [
|
|
"main"
|
|
],
|
|
"permissions": [
|
|
"core:default",
|
|
"fs:default",
|
|
{
|
|
"identifier": "fs:scope-appdata-recursive",
|
|
"allow": [
|
|
{
|
|
"path": "$APPDATA/Readest/**/*"
|
|
}
|
|
],
|
|
"deny": []
|
|
},
|
|
{
|
|
"identifier": "fs:allow-appdata-read",
|
|
"allow": [
|
|
{
|
|
"path": "$APPDATA/settings.json"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "fs:allow-appdata-write",
|
|
"allow": [
|
|
{
|
|
"path": "$APPDATA/settings.json"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{
|
|
"url": "https://*.deepl.com"
|
|
}
|
|
]
|
|
},
|
|
"dialog:default",
|
|
"os:default",
|
|
"core:window:default",
|
|
"core:window:allow-close",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-toggle-maximize",
|
|
"shell:default"
|
|
]
|
|
} |