fix: add Tauri v2 capabilities — unblock event:listen for SSH terminal
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 2m50s
All checks were successful
Build & Sign Wraith / Build Windows + Sign (push) Successful in 2m50s
The app had no capabilities file, so Tauri v2's ACL blocked all
frontend listen() calls. SSH connections succeeded on the Rust side
but the terminal never received data events, appearing as "nothing
happened." Grants core:default, core:event:default, core🪟default,
and shell:allow-open.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6e33bbdcf1
commit
ffe79e9a54
11
src-tauri/capabilities/default.json
Normal file
11
src-tauri/capabilities/default.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"identifier": "default",
|
||||
"description": "Default capabilities for the main Wraith window",
|
||||
"windows": ["main"],
|
||||
"permissions": [
|
||||
"core:default",
|
||||
"core:event:default",
|
||||
"core:window:default",
|
||||
"shell:allow-open"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user