:3
This commit is contained in:
@@ -29,7 +29,7 @@ local function checkForUpdate()
|
||||
fs.copy("startup.lua", "backup.lua")
|
||||
|
||||
if not string.find(update_code_text, __UPDATE_HASH) then
|
||||
http.post(config.ntfy_url, "Computer #" .. tostring( os.getComputerID() ) .. "updating")
|
||||
http.post(config.ntfy_url, "Computer #" .. tostring( os.getComputerID() ) .. " updating")
|
||||
local file = fs.open("startup.lua", "w")
|
||||
file.write(update_code_text)
|
||||
file.close()
|
||||
|
||||
Reference in New Issue
Block a user