diff options
| author | Andrew Lee <alee14498@gmail.com> | 2019-03-05 13:32:12 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@gmail.com> | 2019-03-05 13:32:12 -0500 |
| commit | 579f4a5bd29d76c7379ec9754705e8e9291ff371 (patch) | |
| tree | 70de0209686af788342a789afec3337c2105aa85 | |
| parent | ffa6e7d27edb7bae42850d2cf4b62fa37442e360 (diff) | |
| download | bits-UI-579f4a5bd29d76c7379ec9754705e8e9291ff371.tar.gz bits-UI-579f4a5bd29d76c7379ec9754705e8e9291ff371.tar.bz2 bits-UI-579f4a5bd29d76c7379ec9754705e8e9291ff371.zip | |
Added dev mode for now
| -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() |
