main #10

Merged
Astronand merged 10 commits from main into 1.2-dev 2026-03-12 19:27:45 -04:00
Showing only changes of commit 5e3cdbe40c - Show all commits
+15 -21
View File
@@ -4,24 +4,18 @@ term.clear()
print("Do you want to install HyperionOS? [Y/n]") print("Do you want to install HyperionOS? [Y/n]")
local input=read() local input=read()
if input=="y" or input=="Y" or input=="" then if input=="y" or input=="Y" or input=="" then
goto install print("Installing tar but bad...")
else shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/tarbad /tar.lua")
goto exit print("Installing HyperionOS...")
end print("Installing precompiled tar")
shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/Build.tar /Build.tar")
::install:: shell.run("tar Build.tar /")
print("Installing tar but bad...") print("Removing tar but bad...")
shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/tarbad /tar.lua") shell.run("rm /tar.lua")
print("Installing HyperionOS...") shell.run("rm $")
print("Installing precompiled tar") shell.run("cp Build $")
shell.run("wget https://git.astronand.dev/Hyperion/HyperionOS/raw/branch/1.2-dev/install/data/Build.tar /Build.tar") shell.run("rm Build")
shell.run("tar Build.tar /") shell.run("rm Build.tar")
print("Removing tar but bad...") fs.copy("/$/boot/cct/eeprom","/startup.lua")
shell.run("rm /tar.lua") dofile("startup.lua")
shell.run("rm $") end
shell.run("cp Build $")
shell.run("rm Build")
shell.run("rm Build.tar")
fs.copy("/$/boot/cct/eeprom","/startup.lua")
dofile("startup.lua")
::exit::