Improve installer installation

This commit is contained in:
osmarks 2018-08-13 08:30:36 +01:00
parent c32e15e097
commit b41216dfdb

View File

@ -29,4 +29,10 @@ if command == "update" then
elseif command == "install" then
install_wyvern()
shell.run "edit wyvern_config.tbl" -- open editor for config edits
write "Program to run on startup |> "
local program = read()
local f = fs.open("startup", "w")
f.write('shell.run "' .. program .. '"')
f.close()
os.reboot()
end