mirror of
https://github.com/kepler155c/opus
synced 2024-12-24 15:40:26 +00:00
installer branches
This commit is contained in:
parent
3e8e202e1e
commit
f5add40808
@ -2346,10 +2346,7 @@ function UI.Wizard:eventHandler(event)
|
||||
event.current:disable()
|
||||
end
|
||||
|
||||
-- a new current view
|
||||
local current = event.next or event.prev
|
||||
current:enable()
|
||||
|
||||
if Util.find(self.pages, 'index', current.index - 1) then
|
||||
self.previousButton:enable()
|
||||
else
|
||||
@ -2363,6 +2360,8 @@ function UI.Wizard:eventHandler(event)
|
||||
self.nextButton.text = 'Accept'
|
||||
self.nextButton.event = 'accept'
|
||||
end
|
||||
-- a new current view
|
||||
current:enable()
|
||||
self:draw()
|
||||
end
|
||||
end
|
||||
|
@ -8,7 +8,7 @@ local injector
|
||||
if not install.testing then
|
||||
_ENV.BRANCH = 'develop-1.8'
|
||||
local url ='https://raw.githubusercontent.com/kepler155c/opus/develop-1.8/sys/apis/injector.lua'
|
||||
injector = load(http.get(url).readAll(), 'injector.lua', nil, _ENV)
|
||||
injector = load(http.get(url).readAll(), 'injector.lua', nil, _ENV)()
|
||||
else
|
||||
injector = _G.requireInjector
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user