From 5831eebe389b06743ad04861719e0321faa302ae Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 16 Nov 2020 17:52:15 -0500 Subject: You can change computer label during post-setup --- System/post-setup.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'System/post-setup.lua') 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 -- cgit v1.2.3