Replies: 1 comment
-
I fixed it by not having bin for tauri app and instead moved it into an outside script folder |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
tauri info
[✔] Environment - OS: Mac OS 14.5.0 X64 ✔ Xcode Command Line Tools: installed ✔ rustc: 1.78.0 (9b00956e5 2024-04-29) ✔ cargo: 1.78.0 (54d8815d0 2024-03-26) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-aarch64-apple-darwin (default) - node: 20.14.0 - pnpm: 9.1.3 - yarn: 1.22.22 - npm: 10.7.0 [-] Packages - tauri [RUST]: 2.0.0-beta.22 - tauri-build [RUST]: 2.0.0-beta.17 - wry [RUST]: 0.40.0 - tao [RUST]: 0.28.0 - @tauri-apps/api [NPM]: 2.0.0-beta.13 - @tauri-apps/cli [NPM]: 2.0.0-beta.20 [-] App - build-type: bundle - CSP: unset - frontendDist: ../build - devUrl: http://localhost:1420/ - framework: Svelte - bundler: Vite
I have a bin file that i used to sync the metadata from
./../package.json
to./Cargo.toml
and i have added this my
Cargo.toml
Everything's fine in dev mode but when i build and launch the app it closes immediately, if i remove bin file and the
Cargo.toml
entry of that file, the app run fineAny ideas on how to fix this? or any other way to keep the fields in
package.json
andCargo.toml
in sync?I don't really need the bin file for application, it mainly for running it via GitHub actions to update both
Cargo.toml
andCargo.lock
onpackage.json
changesBeta Was this translation helpful? Give feedback.
All reactions