Closed kacesensitive closed 1 year ago
at first glance your initial approach was almost correct, you just had to change binaryName = 'chatserver-macos-aarch64-apple-darwin';
to binaryName = 'chatserver-macos';
-> The actual binary on the filesystem still needs that prefix.
Btw the idea here is that you don't need this manual binaryName handling. Just use bin/chatserver
in externalBin
and in your js code and name your actual binaries chatserver-${target-triplet}
and tauri will care about loading the correct one.
Heck yeah. Thanks a ton! @FabianLars
Describe the bug
So i have a tauri app which needs to run a sidecar application. Here is my tauri config
And here is the folder structure in the image
When running the binary with the following
I am getting
Fine... then i'll add
bin/chatserver-macos-aarch64-apple-darwin
to the config But then my buiild fails withI'm just confused, any help more than welcome!!
Posted to discord here -> https://discord.com/channels/616186924390023171/1170119995947225108
Reproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response