1
0
mirror of https://github.com/kepler155c/opus synced 2024-12-24 23:50:26 +00:00

installer branches

This commit is contained in:
kepler155c@gmail.com 2018-01-24 18:45:47 -05:00
parent 3e8e202e1e
commit f5add40808
2 changed files with 3 additions and 4 deletions

View File

@ -2346,10 +2346,7 @@ function UI.Wizard:eventHandler(event)
event.current:disable() event.current:disable()
end end
-- a new current view
local current = event.next or event.prev local current = event.next or event.prev
current:enable()
if Util.find(self.pages, 'index', current.index - 1) then if Util.find(self.pages, 'index', current.index - 1) then
self.previousButton:enable() self.previousButton:enable()
else else
@ -2363,6 +2360,8 @@ function UI.Wizard:eventHandler(event)
self.nextButton.text = 'Accept' self.nextButton.text = 'Accept'
self.nextButton.event = 'accept' self.nextButton.event = 'accept'
end end
-- a new current view
current:enable()
self:draw() self:draw()
end end
end end

View File

@ -8,7 +8,7 @@ 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'
injector = load(http.get(url).readAll(), 'injector.lua', nil, _ENV) injector = load(http.get(url).readAll(), 'injector.lua', nil, _ENV)()
else else
injector = _G.requireInjector injector = _G.requireInjector
end end