diff --git a/win_installer/src/app.rs b/win_installer/src/app.rs index ac5b299..81439ad 100644 --- a/win_installer/src/app.rs +++ b/win_installer/src/app.rs @@ -234,16 +234,16 @@ impl App { popup::Type::Info, String::from("Updating boot configuration"), ))?; - let wim_index = self + let wim_file_index = self .state - .wim_image_index - .expect("Failed to get source WIM index"); + .wim_file_index + .expect("Failed to get source WIM file index"); let wim_sources = self .state .wim_sources .lock() .expect("Failed to get WIM Sources"); - let wim_file = wim_sources.get_file(wim_index); + let wim_file = wim_sources.get_file(wim_file_index); // Get System32 path let system32 = get_system32_path(&self.action_tx);