Skip to content

Commit

Permalink
🔧config: tauri config updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich-Tonmoy committed Sep 2, 2024
1 parent bf11935 commit 23b1c5c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ edition = "2021"
tauri-build = { version = "1", features = [] }

[dependencies]
tauri = { version = "1", features = [ "dialog-all",
tauri = { version = "1", features = [
"dialog-all",
"window-all",
"shell-all",
"http-all",
Expand All @@ -28,3 +29,10 @@ zip = "2.2.0"
[features]
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]

[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size
strip = true # Remove debug symbols
4 changes: 2 additions & 2 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"distDir": "../dist"
},
"package": {
"productName": "version-manager",
"productName": "Version Manager",
"version": "0.0.1"
},
"tauri": {
Expand Down Expand Up @@ -48,7 +48,7 @@
"bundle": {
"active": true,
"targets": "all",
"identifier": "VM",
"identifier": "version-manager",
"icon": ["icons/logo.png", "icons/logo.ico"]
}
}
Expand Down

0 comments on commit 23b1c5c

Please sign in to comment.