jan/src-tauri/capabilities/default.json
2025-05-15 17:09:58 +07:00

46 lines
977 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": ["main"],
"remote": {
"urls": ["http://*"]
},
"permissions": [
"core:default",
"shell:allow-spawn",
{
"identifier": "http:default",
"allow": [{ "url": "https://*:*" }, { "url": "http://*:*" }],
"deny": []
},
{
"identifier": "shell:allow-execute",
"allow": [
{
"args": [
"--start-server",
{
"validator": "\\S+"
},
"--port",
{
"validator": "\\S+"
},
"--config_file_path",
{
"validator": "\\S+"
},
"--data_folder_path",
{
"validator": "\\S+"
}
],
"name": "binaries/cortex-server",
"sidecar": true
}
]
}
]
}