Fix bug with WIM indexing (again)
This commit is contained in:
parent
02880340f8
commit
da38d3bff2
1 changed files with 4 additions and 4 deletions
|
|
@ -234,16 +234,16 @@ impl App {
|
||||||
popup::Type::Info,
|
popup::Type::Info,
|
||||||
String::from("Updating boot configuration"),
|
String::from("Updating boot configuration"),
|
||||||
))?;
|
))?;
|
||||||
let wim_index = self
|
let wim_file_index = self
|
||||||
.state
|
.state
|
||||||
.wim_image_index
|
.wim_file_index
|
||||||
.expect("Failed to get source WIM index");
|
.expect("Failed to get source WIM file index");
|
||||||
let wim_sources = self
|
let wim_sources = self
|
||||||
.state
|
.state
|
||||||
.wim_sources
|
.wim_sources
|
||||||
.lock()
|
.lock()
|
||||||
.expect("Failed to get WIM Sources");
|
.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
|
// Get System32 path
|
||||||
let system32 = get_system32_path(&self.action_tx);
|
let system32 = get_system32_path(&self.action_tx);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue