mirror of
https://github.com/kepler155c/opus
synced 2025-04-28 05:33:17 +00:00
installer branches
This commit is contained in:
parent
8e61c0ef46
commit
3e8e202e1e
@ -4,16 +4,16 @@ local http = _G.http
|
|||||||
local install = _ENV.install
|
local install = _ENV.install
|
||||||
local os = _G.os
|
local os = _G.os
|
||||||
|
|
||||||
local requireInjector
|
local injector
|
||||||
if not install.testing then
|
if not install.testing then
|
||||||
_ENV.BRANCH = 'develop-1.8'
|
_ENV.BRANCH = 'develop-1.8'
|
||||||
local url ='https://raw.githubusercontent.com/kepler155c/opus/develop-1.8/sys/apis/injector.lua'
|
local url ='https://raw.githubusercontent.com/kepler155c/opus/develop-1.8/sys/apis/injector.lua'
|
||||||
requireInjector = load(http.get(url).readAll())()
|
injector = load(http.get(url).readAll(), 'injector.lua', nil, _ENV)
|
||||||
else
|
else
|
||||||
requireInjector = _G.requireInjector
|
injector = _G.requireInjector
|
||||||
end
|
end
|
||||||
|
|
||||||
requireInjector(_ENV)
|
injector(_ENV)
|
||||||
|
|
||||||
if not install.testing then
|
if not install.testing then
|
||||||
if package then
|
if package then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user