From da38d3bff2da710e2d8ca0ce756df07b7354406f Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Sun, 22 Mar 2026 19:51:46 -0700 Subject: [PATCH] Fix bug with WIM indexing (again) --- win_installer/src/app.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);