diff --git a/src/installer.lua b/src/installer.lua index 05ff7db..12481af 100644 --- a/src/installer.lua +++ b/src/installer.lua @@ -8,10 +8,6 @@ end local old = os.pullEvent os.pullEvent = os.pullEventRaw -if fs.exists("/startup") then - fs.delete("/startup") -end - local license = [[ The MIT License (MIT) Copyright (c) 2016 BeaconNet @@ -193,6 +189,10 @@ while true do end end +if fs.exists("/startup") then + fs.delete("/startup") +end + for k, v in pairs(files) do term.setTextColor(colors.black) term.setBackgroundColor(colors.white)