Closed billyjacoby closed 3 months ago
The error is correct, this is how it was always meant to be. The scope config alone should not enable the apis themselves. For that you'll need shell.all
or shell.execute
Ahhh got it, thanks a ton for the clairifcation!
Describe the bug
After upgrading my app from Tauri version 1.5 to 1.7 my shell commands cannot be executed with the error
The
Shellmodule is not enabled. You must enable one of its APIs in the allowlist.
I've confirmed that the scopes are defined properly, and changing the
tauri.conf.json.tauri.allowList.all
property to true has allowed the command to be run, but I don't think that should be needed.Reproduction
https://github.com/billyjacoby/browsernaut/tree/chore/dep-upgrades
This branch compared to the current main branch on the repo has the issue, while main works as expetced.
Expected behavior
No response
Full
tauri info
output