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 have a signed MacOS Tauri build for distribution and when I try and use shell.open to open a fileDir on the computer it results in the following error being thrown Unhandled Promise Rejection: shell error: failed to open: Scoped shell IO error: Launcher failed with ExitStatus(unix_wait_status(256))
Note: The code works in local develop and in unsigned builds this only occurs in signed macOS builds.
Code Example:
const filePath = await dialog.save();
const fileDir = dirname(filePath);
shell.open(fileDir); // Note - fileDir is something like Users/Dan/Desktop
I solved the problem by using the original rust open and calling it using invoke, maybe you need to pass in a specific app using open::with to get it to work.
Describe the bug
I have a signed MacOS Tauri build for distribution and when I try and use shell.open to open a fileDir on the computer it results in the following error being thrown
Unhandled Promise Rejection: shell error: failed to open: Scoped shell IO error: Launcher failed with ExitStatus(unix_wait_status(256))
Note: The code works in local develop and in unsigned builds this only occurs in signed macOS builds.
Code Example:
Tauri Config (shell):
Reproduction
1.) Create a signed mac os build
2.) Use shell.open to open a local file directory
Expected behavior
Local file directory should open on signed macOS builds
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: