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()
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

View File

@ -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