64 lines
2.1 KiB
JSON
64 lines
2.1 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "vrct-capability",
|
|
"description": "VRCT main window capabilities",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:window:default",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-close",
|
|
"core:window:allow-set-position",
|
|
"core:window:allow-set-size",
|
|
"core:window:allow-set-always-on-top",
|
|
"core:window:allow-maximize",
|
|
"core:window:allow-unmaximize",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-unminimize",
|
|
"core:window:allow-set-focus",
|
|
|
|
"global-shortcut:allow-is-registered",
|
|
"global-shortcut:allow-register",
|
|
"global-shortcut:allow-register-all",
|
|
"global-shortcut:allow-unregister",
|
|
"global-shortcut:allow-unregister-all",
|
|
|
|
"fs:default",
|
|
"fs:allow-write-file",
|
|
"fs:allow-remove",
|
|
"fs:allow-resource-read-recursive",
|
|
"fs:allow-resource-meta-recursive",
|
|
{
|
|
"identifier": "fs:scope",
|
|
"allow": [
|
|
{ "path": "$RESOURCE/plugins/**" },
|
|
{ "path": "src-tauri/target/debug/plugins/**" }
|
|
]
|
|
},
|
|
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{ "url": "https://api.github.com/repos/**" },
|
|
{ "url": "https://github.com/**" },
|
|
{ "url": "https://raw.githubusercontent.com/ShiinaSakamoto/vrct_plugins_list/main/vrct_plugins_list.json" },
|
|
{ "url": "https://raw.githubusercontent.com/ShiinaSakamoto/vrct_plugins_list/main/dev_vrct_plugins_list.json" }
|
|
]
|
|
},
|
|
|
|
"shell:allow-open",
|
|
"shell:allow-stdin-write",
|
|
{
|
|
"identifier": "shell:allow-spawn",
|
|
"allow": [
|
|
{ "name": "bin/VRCT-sidecar", "sidecar": true, "args": true }
|
|
]
|
|
},
|
|
{
|
|
"identifier": "shell:allow-execute",
|
|
"allow": [
|
|
{ "name": "bin/VRCT-sidecar", "sidecar": true, "args": true }
|
|
]
|
|
}
|
|
]
|
|
}
|