First off, thank you for making this! I got started on building a desktop app last week after seeing your talk at ElixirConf EU, and it has been incredibly easy to work with!
We're now at the point where I want to build some binaries and distribute to others for testing. I'm running into some issues when following the docs. The beforeBuildCommand specified in the docs attempts to compile the mix project from the src-tauri directory. I ended up changing it from:
"beforeBuildCommand": "MIX_ENV=prod mix do compile + assets.deploy + release --overwrite --path src-tauri/target/rel"
to:
"beforeBuildCommand": "cd .. && MIX_ENV=prod mix do compile + assets.deploy + release --overwrite --path src-tauri/target/rel"
This gets it to build, but not sure this is the best way to do this/if it interferes with other paths when building binaries or signing releases (haven't got that far yet)
First off, thank you for making this! I got started on building a desktop app last week after seeing your talk at ElixirConf EU, and it has been incredibly easy to work with!
We're now at the point where I want to build some binaries and distribute to others for testing. I'm running into some issues when following the docs. The
beforeBuildCommandspecified in the docs attempts to compile the mix project from thesrc-tauridirectory. I ended up changing it from:"beforeBuildCommand": "MIX_ENV=prod mix do compile + assets.deploy + release --overwrite --path src-tauri/target/rel"to:
"beforeBuildCommand": "cd .. && MIX_ENV=prod mix do compile + assets.deploy + release --overwrite --path src-tauri/target/rel"This gets it to build, but not sure this is the best way to do this/if it interferes with other paths when building binaries or signing releases (haven't got that far yet)