Files
OwnCord/Client/tauri-client/src-tauri/capabilities/default.json
T
jevb 01e4d4bec3 feat: client auto-update with Ed25519 signing and dynamic server URL
- Add tauri-plugin-updater and tauri-plugin-process for in-app updates
- Rust commands (check_client_update, download_and_install_update) build
  updater with dynamic endpoint at runtime for self-hosted compatibility
- Server endpoint GET /api/v1/client-update/{target}/{version} translates
  GitHub Releases into Tauri updater JSON format with .sig content
- UpdateNotifier banner component with install/dismiss controls
- CI workflow produces signed .nsis.zip + .sig updater artifacts
- Self-signed TLS support via dangerousAcceptInvalidCerts config
2026-03-18 17:47:59 +01:00

81 lines
1.8 KiB
JSON

{
"identifier": "default",
"description": "Default capability granting core permissions to the main window",
"windows": [
"main"
],
"permissions": [
"core:default",
"core:event:default",
"core:window:default",
"core:window:allow-show",
"core:window:allow-hide",
"core:window:allow-set-focus",
"core:window:allow-is-visible",
"core:window:allow-set-position",
"core:window:allow-set-size",
"core:window:allow-maximize",
"core:window:allow-is-maximized",
"core:window:allow-outer-position",
"core:window:allow-outer-size",
"store:default",
"global-shortcut:default",
"global-shortcut:allow-register",
"global-shortcut:allow-unregister",
"global-shortcut:allow-unregister-all",
"global-shortcut:allow-is-registered",
"notification:default",
"notification:allow-notify",
"notification:allow-request-permission",
"notification:allow-is-permission-granted",
"http:default",
{
"identifier": "http:allow-fetch",
"allow": [
{
"url": "https://*:*"
},
{
"url": "https://*"
}
]
},
{
"identifier": "http:allow-fetch-send",
"allow": [
{
"url": "https://*:*"
},
{
"url": "https://*"
}
]
},
{
"identifier": "http:allow-fetch-read-body",
"allow": [
{
"url": "https://*:*"
},
{
"url": "https://*"
}
]
},
"http:allow-fetch-cancel",
"opener:default",
"dialog:default",
"updater:default",
"process:allow-restart",
"fs:default",
{
"identifier": "fs:allow-write-file",
"allow": [
{
"path": "**"
}
]
}
]
}