You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to use tauri to download and save the executable file, and use javascript to execute it using the shell api, but it prompts me "program not allowed on the configured shell scope". How should I set it up so that I can run the later downloaded program? At compile time, it is not known which executable kernel the user will choose to download.
The text was updated successfully, but these errors were encountered:
If it's not known at compile time you have to spawn the commands on the rust side, or use cmd.exe or similar as your command and your exe as an arg to that.
In theory there's also tauri-apps/tauri#7165 which would allow to extend the scope in rust but still spawn the command in js but the pr never got merged and i doubt it will for v1 at this point.
I need to use tauri to download and save the executable file, and use javascript to execute it using the shell api, but it prompts me "program not allowed on the configured shell scope". How should I set it up so that I can run the later downloaded program? At compile time, it is not known which executable kernel the user will choose to download.
The text was updated successfully, but these errors were encountered: