mirror of
https://github.com/Alee14/bits-UI.git
synced 2025-01-22 10:41:58 -05:00
Fixes
This commit is contained in:
parent
fc5532b163
commit
a3e41759b7
2 changed files with 12 additions and 1 deletions
|
@ -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()
|
||||
|
|
|
@ -2,6 +2,12 @@ term.clear()
|
|||
term.setCursorPos(1,1)
|
||||
term.setTextColor(colors.white)
|
||||
print("Welcome to the bits-UI transfer!")
|
||||
sleep(2)
|
||||
if fs.exists("/disk") then
|
||||
shell.run("copy", "/home", "/disk")
|
||||
shell.run("copy", "/etc/passwd.pwd", "/disk")
|
||||
else
|
||||
print("You need a floppy disk to copy over data.")
|
||||
print("Installation has been halted.")
|
||||
sleep(2)
|
||||
end
|
Loading…
Reference in a new issue