aboutsummaryrefslogtreecommitdiff
path: root/startup
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-03-05 13:32:12 -0500
committerAndrew Lee <alee14498@gmail.com>2019-03-05 13:32:12 -0500
commit579f4a5bd29d76c7379ec9754705e8e9291ff371 (patch)
tree70de0209686af788342a789afec3337c2105aa85 /startup
parentffa6e7d27edb7bae42850d2cf4b62fa37442e360 (diff)
downloadbits-UI-579f4a5bd29d76c7379ec9754705e8e9291ff371.tar.gz
bits-UI-579f4a5bd29d76c7379ec9754705e8e9291ff371.tar.bz2
bits-UI-579f4a5bd29d76c7379ec9754705e8e9291ff371.zip
Added dev mode for now
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())