- 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
56 lines
1015 B
JSON
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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |