The main webview retained `shell:allow-open` even though the frontend never uses the shell plugin directly. File-manager opening already flows through the `open_game_files` command, which checks catalog membership and containment. Remove only the frontend permission. The Rust shell plugin and dependency stay available for the checked backend open operation and bundled unrar sidecar. Test Plan: - `just build-fixture` -- passed, including the frontend build and Tauri capability validation. - `git diff --cached --check` -- passed.
16 lines
332 B
JSON
16 lines
332 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": [
|
|
"main"
|
|
],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-set-focus",
|
|
"core:webview:allow-create-webview-window",
|
|
"dialog:default",
|
|
"store:default"
|
|
]
|
|
}
|