aboutsummaryrefslogtreecommitdiff
path: root/startup.lua
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@gmail.com>2019-07-14 21:53:01 -0400
committerAndrew Lee <alee14498@gmail.com>2019-07-14 21:53:01 -0400
commita3e41759b761898f24b9e8b7c5e0679ca273df07 (patch)
treea6d9ef3144e743316f7599f23017a2a0582e2a9b /startup.lua
parentfc5532b16318599cb7acce820132f0c99ed68cc3 (diff)
downloadbits-UI-a3e41759b761898f24b9e8b7c5e0679ca273df07.tar.gz
bits-UI-a3e41759b761898f24b9e8b7c5e0679ca273df07.tar.bz2
bits-UI-a3e41759b761898f24b9e8b7c5e0679ca273df07.zip
Fixes
Diffstat (limited to 'startup.lua')
-rw-r--r--startup.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/startup.lua b/startup.lua
index e317bc1..853bac9 100644
--- a/startup.lua
+++ b/startup.lua
@@ -65,7 +65,7 @@ function bootloaderInput()
elseif input == "2" then
clear()
if devMode == true then
- print("You have developer mode set to true! Which means that you cannot update, you must use github to update.")
+ print("Developer mode is set to true! Which means that you cannot update, you must use github to update.")
sleep(3)
clear()
bootloader()
@@ -94,6 +94,11 @@ clear()
print("Welcome to BUBL!")
if fs.exists(bublcfg) then
sleep(1)
+ if fs.exists("/.git") then
+ devMode = true
+ else
+ devMode = false
+ end
clear()
bootloader()
bootloaderInput()