aboutsummaryrefslogtreecommitdiff
path: root/startup.lua
diff options
context:
space:
mode:
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()