From 5e3cdbe40c3124fd3e69f84d651ea62cf7668b06 Mon Sep 17 00:00:00 2001 From: Astronand Date: Thu, 12 Mar 2026 11:51:55 -0400 Subject: [PATCH] Update install/installcc.lua --- install/installcc.lua | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/install/installcc.lua b/install/installcc.lua index fe683ca..8a35adc 100644 --- a/install/installcc.lua +++ b/install/installcc.lua @@ -4,24 +4,18 @@ term.clear() print("Do you want to install HyperionOS? [Y/n]") local input=read() if input=="y" or input=="Y" or input=="" then - goto install -else - goto exit -end - -::install:: -print("Installing tar but bad...") -shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/tarbad /tar.lua") -print("Installing HyperionOS...") -print("Installing precompiled tar") -shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/Build.tar /Build.tar") -shell.run("tar Build.tar /") -print("Removing tar but bad...") -shell.run("rm /tar.lua") -shell.run("rm $") -shell.run("cp Build $") -shell.run("rm Build") -shell.run("rm Build.tar") -fs.copy("/$/boot/cct/eeprom","/startup.lua") -dofile("startup.lua") -::exit:: \ No newline at end of file + print("Installing tar but bad...") + shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/tarbad /tar.lua") + print("Installing HyperionOS...") + print("Installing precompiled tar") + shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/Build.tar /Build.tar") + shell.run("tar Build.tar /") + print("Removing tar but bad...") + shell.run("rm /tar.lua") + shell.run("rm $") + shell.run("cp Build $") + shell.run("rm Build") + shell.run("rm Build.tar") + fs.copy("/$/boot/cct/eeprom","/startup.lua") + dofile("startup.lua") +end \ No newline at end of file