diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | startup | 7 | ||||
| -rw-r--r-- | system/boot.lua | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,2 +1,3 @@ home/ system/bitUI.config +dev_mode
\ No newline at end of file @@ -28,9 +28,16 @@ function bootloaderInput() shell.run("/system/boot.lua") elseif input == "2" then clear() + if fs.exists("dev_mode") then + print("You are running developer mode! You cannot update bit-UI.") + clear() + bootloader() + bootloaderInput() + else print("Running updater...") sleep(3) shell.run("pastebin", "run", "7XY80hfG") + end elseif input == "3" then clear() print(os.version()) diff --git a/system/boot.lua b/system/boot.lua index 6ba6a18..3061d57 100644 --- a/system/boot.lua +++ b/system/boot.lua @@ -1,7 +1,7 @@ -- bits-UI: An operating system for ComputerCraft. Licensed with GPL-3.0. -local version = "1.0 Alpha 1" +local version = "1.0 Alpha 2" local desktop = "/system/desktop.lua" term.clear() |
