diff --git a/installer.lua b/installer.lua index c0dd9ad..df97773 100644 --- a/installer.lua +++ b/installer.lua @@ -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 \ No newline at end of file