This commit is contained in:
Igor Timofeev 2019-01-20 22:18:49 +03:00
parent 2a37128ca8
commit 66749c3591

View File

@ -509,10 +509,12 @@ addStage(function()
addTitle(0x969696, localization.creating)
workspace:draw()
-- Creating system paths
-- Switching to selected filesystem proxy for performing system library operations
filesystem.setProxy(selectedFilesystemProxy)
-- Creating system paths
paths.create(paths.system)
local userProperties, userPaths = system.createUser(
usernameInput.text,
filesystemHideExtension(filesystemName(files.localizations[localizationComboBox.selectedItem])),
@ -520,10 +522,13 @@ addStage(function()
wallpapersSwitchAndLabel.switch.state,
screensaversSwitchAndLabel.switch.state
)
filesystem.setProxy(temporaryFilesystemProxy)
-- Renaming HDD
temporaryFilesystemProxy.setLabel("MineOS HDD")
-- Switching back to temporary fileystem proxy
filesystem.setProxy(temporaryFilesystemProxy)
-- Flashing EEPROM
layout:removeChildren()