Describe the bug
Appears to be similar to issue #3612.
Works in build, but not in dev.
Moving app-* (app-aarch64-apple-darwin in this case) to the src-tauri directory and changing "bin/app" to "app" did not work.
Reproduction
- Add a sidecar app
Relevant sections of my tauri.conf.json
{
"tauri": {
"allowlist": {
"shell": {
"sidecar": true,
"scope": [
{
"name": "bin/app",
"sidecar": true
}
]
},
...
},
"bundle": {
"externalBin": [
"bin/app"
],
...
}
...
}
}
And of the JavaScript...
const command = Command.sidecar( 'bin/app' );
console.log( await command.execute() );
- Use tauri dev
- See "No such file or directory (os error 2)" error in console when running command
- See that it works with tauri build
Expected behavior
Dev and build should behave the same.
Platform and versions
macOS 12.4 (21F79), M1 chip
tauri = { version = "1.0.5", features = ["api-all"] }
tauri-build = { version = "1.0.4", features = [] }
Stack trace
No response
Additional context
The example sidecar app only has one line, logging a string to the console.
Describe the bug
Appears to be similar to issue #3612.
Works in build, but not in dev.
Moving app-* (app-aarch64-apple-darwin in this case) to the src-tauri directory and changing "bin/app" to "app" did not work.
Reproduction
Relevant sections of my tauri.conf.json
{ "tauri": { "allowlist": { "shell": { "sidecar": true, "scope": [ { "name": "bin/app", "sidecar": true } ] }, ... }, "bundle": { "externalBin": [ "bin/app" ], ... } ... } }And of the JavaScript...
Expected behavior
Dev and build should behave the same.
Platform and versions
macOS 12.4 (21F79), M1 chip
tauri = { version = "1.0.5", features = ["api-all"] }
tauri-build = { version = "1.0.4", features = [] }
Stack trace
No response
Additional context
The example sidecar app only has one line, logging a string to the console.