im sleepy
This commit is contained in:
		
							parent
							
								
									e62abe56d6
								
							
						
					
					
						commit
						0c15f13efb
					
				| 
						 | 
				
			
			@ -7,7 +7,7 @@ local require = function(path)
 | 
			
		|||
        return __DEFAULT_IMPORT(path)
 | 
			
		||||
    end
 | 
			
		||||
end
 | 
			
		||||
local KEYPADOS_UPDATE_HASH = "bKkYwsVcXKtXDBdkQPQTxFYR"
 | 
			
		||||
local KEYPADOS_UPDATE_HASH = "xBDnzGEOVIVZyRGGMsKFCptR"
 | 
			
		||||
rawset(__BUNDLER_FILES, "updater.lua", function ()
 | 
			
		||||
    local utils = require("utils.lua")
 | 
			
		||||
    local LAST_USED = os.time()
 | 
			
		||||
| 
						 | 
				
			
			@ -33,7 +33,6 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
 | 
			
		|||
                            os.reboot()
 | 
			
		||||
                        else
 | 
			
		||||
                            print("Nothing changed, not updating.")
 | 
			
		||||
                            sleep(50) -- delete this later
 | 
			
		||||
                            LAST_USED = os.time()
 | 
			
		||||
                            return
 | 
			
		||||
                        end
 | 
			
		||||
| 
						 | 
				
			
			@ -191,6 +190,7 @@ rawset(__BUNDLER_FILES, "ui.lua", function ()
 | 
			
		|||
        end)
 | 
			
		||||
        if not status and err ~= "Terminated" then
 | 
			
		||||
            print("Error detected: " .. err)
 | 
			
		||||
            sleep(10)
 | 
			
		||||
            utils.MonReset(0.5)
 | 
			
		||||
            fs.delete("basalt.lua")
 | 
			
		||||
            fs.delete("startup.lua")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -122,6 +122,7 @@ function mod.InitUi()
 | 
			
		|||
 | 
			
		||||
    if not status and err ~= "Terminated" then
 | 
			
		||||
        print("Error detected: " .. err)
 | 
			
		||||
        sleep(10)
 | 
			
		||||
        utils.MonReset(0.5)
 | 
			
		||||
        fs.delete("basalt.lua")
 | 
			
		||||
        fs.delete("startup.lua")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -26,7 +26,6 @@ local function checkForUpdate()
 | 
			
		|||
                        os.reboot()
 | 
			
		||||
                    else
 | 
			
		||||
                        print("Nothing changed, not updating.")
 | 
			
		||||
                        sleep(50) -- delete this later
 | 
			
		||||
                        LAST_USED = os.time()
 | 
			
		||||
                        return
 | 
			
		||||
                    end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user