Skip to content
Discussion options

You must be logged in to vote

copying this

pub fn is_dev() -> bool {
env::var("DEP_TAURI_DEV").expect("missing `cargo:dev` instruction, please update tauri to latest")
== "true"
}
into your build.rs file should work (at least it seems to work for me)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@raphaelmenges
Comment options

Answer selected by raphaelmenges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants