:3
This commit is contained in:
parent
d07a35f360
commit
a3ca65a458
|
@ -3,11 +3,13 @@ local __DEFAULT_IMPORT = require
|
||||||
local require = function(path)
|
local require = function(path)
|
||||||
if __BUNDLER_FILES[path] then
|
if __BUNDLER_FILES[path] then
|
||||||
return __BUNDLER_FILES[path]()
|
return __BUNDLER_FILES[path]()
|
||||||
elseif __BUNDLER_FILES[path .. ".lua"]
|
elseif __BUNDLER_FILES[path .. ".lua"] then
|
||||||
return __DEFAULT_IMPORT(path .. ".lua")
|
return __BUNDLER_FILES[path .. ".lua"]()
|
||||||
|
else
|
||||||
|
return __DEFAULT_IMPORT(path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local __UPDATE_HASH = "7384b0fb8aa0c196aa226eb2e3d2d7a18d323eaa"
|
local __UPDATE_HASH = "06ce6de3f0bd472e135bd6937c93d8d73dc8d20b"
|
||||||
rawset(__BUNDLER_FILES, "updater.lua", function ()
|
rawset(__BUNDLER_FILES, "updater.lua", function ()
|
||||||
local utils = require("utils.lua")
|
local utils = require("utils.lua")
|
||||||
local config = require("config.lua")
|
local config = require("config.lua")
|
||||||
|
|
6
x.py
6
x.py
|
@ -46,8 +46,10 @@ local __DEFAULT_IMPORT = require
|
||||||
local require = function(path)
|
local require = function(path)
|
||||||
if __BUNDLER_FILES[path] then
|
if __BUNDLER_FILES[path] then
|
||||||
return __BUNDLER_FILES[path]()
|
return __BUNDLER_FILES[path]()
|
||||||
elseif __BUNDLER_FILES[path .. ".lua"]
|
elseif __BUNDLER_FILES[path .. ".lua"] then
|
||||||
return __DEFAULT_IMPORT(path .. ".lua")
|
return __BUNDLER_FILES[path .. ".lua"]()
|
||||||
|
else
|
||||||
|
return __DEFAULT_IMPORT(path)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local __UPDATE_HASH = __BUNDLER_REPLACE_HASH__
|
local __UPDATE_HASH = __BUNDLER_REPLACE_HASH__
|
||||||
|
|
Loading…
Reference in New Issue
Block a user