From 7f1a4364d0d181f7cecfd4fa883c3cf877f8c615 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 6 Aug 2017 14:05:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=95=D0=B1=D0=B0=D1=82=D1=8C!=20=D0=9E=D0=B1?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=20=D0=B4=D0=BB=D1=8F=20=D1=86=D0=B0?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Крч, всякие иконки перетаскиваются пиздато, как на десктопе. Мультивыделения, анимации. Еще время в реал-тайме отображается серверное. Куча графона и багфиксов. ОХУЕТЬ --- Installer/Installer.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Installer/Installer.lua b/Installer/Installer.lua index 5c80a36b..03e142d9 100644 --- a/Installer/Installer.lua +++ b/Installer/Installer.lua @@ -52,8 +52,8 @@ end ------------------------------------------------------------------------------------------------------------------------------------ local paths = { - applicationList = "/MineOS/System/OS/Applications.cfg", - OSSettings = "/MineOS/System/OS/OSSettings.cfg", + applicationList = "/MineOS/System/Applications.cfg", + OSSettings = "/MineOS/System/Settings.cfg", } local urls = { @@ -226,8 +226,8 @@ stages[3] = function() stageContainer.nextStageButton.disabled = true local switch = addSwitchToStage(41, 22, 0x666666, localization.terms, false) - switch.onStateChanged = function(state) - stageContainer.nextStageButton.disabled = not state + switch.onStateChanged = function() + stageContainer.nextStageButton.disabled = not switch.state mainContainer:draw() buffer.draw() end @@ -297,6 +297,9 @@ stages[5] = function() stageContainer:addChild(GUI.label(1, 22, stageContainer.width, 1, 0x666666, localization.needToReboot)):setAlignment(GUI.alignment.horizontal.center, GUI.alignment.vertical.top) stageContainer:addChild(GUI.adaptiveRoundedButton(math.floor(stageContainer.width / 2 - (unicode.len(localization.reboot) + 4) / 2), stageContainer.height - 4, 2, 1, 0xAAAAAA, 0xDDDDDD, 0x777777, 0xDDDDDD, localization.reboot)).onTouch = function() OSSettings.wallpaper = stageContainer.downloadWallpapersSwitch.state and "/MineOS/Pictures/Space.pic" or nil + OSSettings.wallpaperEnabled = true + OSSettings.transparencyEnabled = true + OSSettings.showApplicationIcons = true OSSettings.screensaver = "Matrix" OSSettings.screensaverDelay = 20 OSSettings.showHelpOnApplicationStart = stageContainer.showApplicationsHelpSwitch.state