From 6bf4d56026de4ec639e4bdeb1569629918ab302b Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Wed, 17 May 2023 18:47:50 -0300 Subject: [PATCH] fix windows build --- plugins/updater/src/updater/core.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/updater/src/updater/core.rs b/plugins/updater/src/updater/core.rs index bdc4d745..f294a2aa 100644 --- a/plugins/updater/src/updater/core.rs +++ b/plugins/updater/src/updater/core.rs @@ -610,7 +610,7 @@ impl Update { &self.extract_path, self.with_elevated_task, &self.app.config(), - &self.app.state::().config, + &self.app.state::().config, )?; #[cfg(not(target_os = "windows"))] copy_files_and_run(archive_buffer, &self.extract_path)?; @@ -738,7 +738,7 @@ fn copy_files_and_run( // Run the EXE let mut installer = Command::new(found_path); if tauri::utils::config::WindowsUpdateInstallMode::Quiet - == config.tauri.bundle.updater.install_mode + == config.tauri.bundle.updater.windows.install_mode { installer.arg("/S"); }