Merge pull request #528 from Def-Try/patch-1

Move EEPROM flash stage to after-install
This commit is contained in:
IgorTimofeev 2023-02-24 10:13:57 +03:00 committed by GitHub
commit 8211701a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -559,16 +559,6 @@ addStage(function()
)
end)
-- Flashing EEPROM
layout:removeChildren()
addImage(1, 1, "EEPROM")
addTitle(0x969696, localization.flashing)
workspace:draw()
component.invoke(EEPROMAddress, "set", request(EFIURL))
component.invoke(EEPROMAddress, "setLabel", "MineOS EFI")
component.invoke(EEPROMAddress, "setData", selectedFilesystemProxy.address)
-- Downloading files
layout:removeChildren()
addImage(3, 2, "Downloading")
@ -654,6 +644,17 @@ addStage(function()
workspace:draw()
end
-- Flashing EEPROM
layout:removeChildren()
addImage(1, 1, "EEPROM")
addTitle(0x969696, localization.flashing)
workspace:draw()
component.invoke(EEPROMAddress, "set", request(EFIURL))
component.invoke(EEPROMAddress, "setLabel", "MineOS EFI")
component.invoke(EEPROMAddress, "setData", selectedFilesystemProxy.address)
-- Saving system versions
switchProxy(function()
filesystem.writeTable(paths.system.versions, versions, true)