Enable custom-protocol for embedded frontend assets
Without this feature, Tauri falls back to devUrl even in release builds. The tauri CLI adds it automatically but direct cargo builds need it in Cargo.toml.
This commit is contained in:
@@ -11,7 +11,7 @@ crate-type = ["lib", "staticlib"]
|
|||||||
tauri-build = { version = "2", features = [] }
|
tauri-build = { version = "2", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tauri = { version = "2", features = ["tray-icon"] }
|
tauri = { version = "2", features = ["tray-icon", "custom-protocol"] }
|
||||||
tauri-plugin-shell = "2"
|
tauri-plugin-shell = "2"
|
||||||
tauri-plugin-notification = "2"
|
tauri-plugin-notification = "2"
|
||||||
tauri-plugin-global-shortcut = "2"
|
tauri-plugin-global-shortcut = "2"
|
||||||
|
|||||||
Reference in New Issue
Block a user