mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-18 21:12:19 +02:00
feat: update to alpha.11 (#555)
This commit is contained in:
@@ -13,7 +13,7 @@ fn main() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_updater::Builder::new().build())
|
||||
.setup(|app| {
|
||||
let handle = app.handle();
|
||||
let handle = app.handle().clone();
|
||||
tauri::async_runtime::spawn(async move {
|
||||
let mut builder = handle.updater_builder();
|
||||
if std::env::var("TARGET").unwrap_or_default() == "nsis" {
|
||||
|
||||
Reference in New Issue
Block a user