From 66749c35919065a9dac4d09d4007a5b46bb9ab76 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 20 Jan 2019 22:18:49 +0300 Subject: [PATCH] aefaef --- Installer/Main.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Installer/Main.lua b/Installer/Main.lua index 0374161b..0d8c0318 100644 --- a/Installer/Main.lua +++ b/Installer/Main.lua @@ -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()