need mcorange git actions
This commit is contained in:
		
							parent
							
								
									739e731bc4
								
							
						
					
					
						commit
						d6f168e9eb
					
				| 
						 | 
				
			
			@ -7,7 +7,7 @@ local require = function(path)
 | 
			
		|||
        return __DEFAULT_IMPORT(path)
 | 
			
		||||
    end
 | 
			
		||||
end
 | 
			
		||||
local KEYPADOS_UPDATE_HASH = "xBDnzGEOVIVZyRGGMsKFCptR"
 | 
			
		||||
local KEYPADOS_UPDATE_HASH = "dGWGjxrYViZwxsSgLMdmnMeu"
 | 
			
		||||
rawset(__BUNDLER_FILES, "updater.lua", function ()
 | 
			
		||||
    local utils = require("utils.lua")
 | 
			
		||||
    local LAST_USED = os.time()
 | 
			
		||||
| 
						 | 
				
			
			@ -25,6 +25,9 @@ rawset(__BUNDLER_FILES, "updater.lua", function ()
 | 
			
		|||
                if update_code_text then
 | 
			
		||||
                    if string.find(update_code_text, "^local __BUNDLER_FILES = {}") then
 | 
			
		||||
                        -- Make backup
 | 
			
		||||
                        if fs.exists("backup.lua") then
 | 
			
		||||
                            fs.delete("backup.lua")
 | 
			
		||||
                        end
 | 
			
		||||
                        fs.copy("startup.lua", "backup.lua")
 | 
			
		||||
                        if not string.find(update_code_text, KEYPADOS_UPDATE_HASH) then
 | 
			
		||||
                            local file = fs.open("startup.lua", "w")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user