jan/src-tauri/capabilities/default.json
vansangpfiev 4684cf8ba0
fix: bundle libraries on Linux and Windows (#5078)
* fix: updater

* chore: sync latest nightly

* chore: ignore electron updater config

* chore: upload signatures

* chore: update connect-src

* chore: add log

* chore: correct path macos s3

* fix: close cortex before restarting

* chore: clean

* chore: comment

* Revert "chore: update connect-src"

This reverts commit a592845c0b5293c121fb17671c14bb1f9958bf00.

* chore: update lastest.yml

* chore: cleanup

* chore: stop uploading yml for electron

* chore: linux workflow

* chore: add permissions

* chore: add logs

* chore: linux workflow

* chore: correct path

* chore: add log

* chore: correct path

* chore: pack libs

* chore: skip download cortex for extension

* chore: linux wf

* chore: try add more libs

* chore: rm logs

* fix: app data directory

* fix: windows path

* fix: windows path

* chore: update linux wf

* chore: lint

* chore: more binaries

* chore: update download script

* chore: lint
2025-05-23 11:30:43 +07:00

80 lines
1.6 KiB
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": [
"main"
],
"remote": {
"urls": [
"http://*"
]
},
"permissions": [
"core:default",
"core:window:allow-start-dragging",
"core:window:allow-set-theme",
"shell:allow-spawn",
"shell:allow-open",
"core:app:allow-set-app-theme",
"core:window:allow-set-focus",
"os:default",
"log:default",
"updater:default",
"dialog:default",
"core:webview:allow-create-webview-window",
{
"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+"
},
"--cors",
{
"validator": "\\S+"
},
"--allowed_origins",
{
"validator": "\\S+"
},
"config",
"--api_keys",
{
"validator": "\\S+"
}
],
"name": "binaries/cortex-server",
"sidecar": true
}
]
},
"store:default"
]
}