Files
spary/src-tauri/capabilities/default.json
selcarpa e4f67f0f76 feat(core): Added core startup and debugging features
- Introduced the tauri-plugin-os, tauri-plugin-shell, and tauri-plugin-process plugins
- Added the coreStart function to execute shell commands to start the core
- Added the coreLog page and MainConsole component for debugging output
- Introduced vue-web-terminal to implement a terminal interface
- Removed the old Exe and Group modules and related code
2025-10-24 09:36:10 +08:00

56 lines
1015 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": [
"main"
],
"permissions": [
"core:default",
"opener:default",
"sql:default",
"sql:allow-execute",
"fs:default",
"os:default",
"shell:default",
"process:default",
{
"identifier": "fs:allow-write-text-file",
"allow": [
{
"path": "$APPCONFIG/*"
}
]
},
{
"identifier": "fs:allow-remove",
"allow": [
{
"path": "$APPCONFIG/*"
}
]
},
{
"identifier": "fs:allow-exists",
"allow": [
{
"path": "$APPCONFIG/*"
}
]
},
{
"identifier": "shell:allow-execute",
"allow": [
{
"name": "exec-sh",
"cmd": "sh",
"args": [
"-c",
"echo 'Hello World!'"
],
"sidecar": false
}
]
}
]
}