aboutsummaryrefslogtreecommitdiff
path: root/System
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-11-16 17:52:15 -0500
committerAndrew Lee <alee14498@protonmail.com>2020-11-16 17:52:15 -0500
commit5831eebe389b06743ad04861719e0321faa302ae (patch)
tree62c355d29dc0ea408281667c384afb3eca4d3a49 /System
parente0d2daedcdacfd0529ea653bd9908271c5a15dd8 (diff)
downloadbits-UI-5831eebe389b06743ad04861719e0321faa302ae.tar.gz
bits-UI-5831eebe389b06743ad04861719e0321faa302ae.tar.bz2
bits-UI-5831eebe389b06743ad04861719e0321faa302ae.zip
You can change computer label during post-setup
Diffstat (limited to 'System')
-rw-r--r--System/post-setup.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/System/post-setup.lua b/System/post-setup.lua
index 94c9d65..802e597 100644
--- a/System/post-setup.lua
+++ b/System/post-setup.lua
@@ -60,5 +60,16 @@ else
end
sleep(1)
print("Finished copying files.")
+sleep(0.1)
+print("Do you want to set a label? (y/n)")
+local input = read()
+if input == "y" then
+ print("Pick your label for your computer:")
+ local labelInput = read()
+ os.setComputerLabel(labelInput)
+else
+ print("Skipping label change...")
+end
+
sleep(2)
shell.run("/System/desktop.lua") \ No newline at end of file