aboutsummaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
Diffstat (limited to 'startup')
-rw-r--r--startup7
1 files changed, 7 insertions, 0 deletions
diff --git a/startup b/startup
index 71a1f16..7ed3e0d 100644
--- a/startup
+++ b/startup
@@ -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())