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"); }