diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 17:08:41 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-11-16 17:08:41 -0500 |
| commit | 53e4faeef243c8e229b29012a8031878d7ba666a (patch) | |
| tree | 426ef27599be741c710f46cb80373ab49331564b /System/recovery | |
| parent | d971f492e0939d85bb55361d028dd0fe9428be63 (diff) | |
| download | bits-UI-53e4faeef243c8e229b29012a8031878d7ba666a.tar.gz bits-UI-53e4faeef243c8e229b29012a8031878d7ba666a.tar.bz2 bits-UI-53e4faeef243c8e229b29012a8031878d7ba666a.zip | |
Revert changes; Added a welcome text
Diffstat (limited to 'System/recovery')
| -rw-r--r-- | System/recovery/main.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/System/recovery/main.lua b/System/recovery/main.lua index 15c51aa..0adb7cc 100644 --- a/System/recovery/main.lua +++ b/System/recovery/main.lua @@ -19,10 +19,11 @@ term.setTextColor(colors.white) print("Welcome to the bits-UI recovery mode!") sleep(2) print("Do you want to either reset or transfer?") +print("1 or 2") local input = read(); -if input == "reset" then +if input == "1" then shell.run("/System/recovery/reset.lua") -elseif input == "transfer" then +elseif input == "2" then shell.run("/System/recovery/transfer.lua") else os.reboot() |
