Заодно маркет подновим

This commit is contained in:
Igor Timofeev 2017-09-17 22:13:28 +03:00
parent 44c5786470
commit 30c5e77012
2 changed files with 8 additions and 8 deletions

View File

@ -927,13 +927,13 @@
}, },
{ {
path="/MineOS/Applications/AppMarket", path="/MineOS/Applications/AppMarket",
url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/AppMarket.lua", url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Main.lua",
about="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/About/", about="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/About/",
type="Application", type="Application",
icon="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic", icon="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic",
createShortcut="dock", createShortcut="dock",
forceDownload=true, forceDownload=true,
version=1.63, version=1.64,
resources={ resources={
{ {
path="/Update.pic", path="/Update.pic",

View File

@ -217,12 +217,12 @@ local tabs = {
window.tabBar:addItem(localization.updates) window.tabBar:addItem(localization.updates)
} }
local oldResize = window.onResize -- local oldResize = window.onResize
window.onResize = function(window, width, height) -- window.onResize = function(window, width, height)
window.contentContainer.width, window.contentContainer.height = width - 4, height - 3 -- window.contentContainer.width, window.contentContainer.height = width - 4, height - 3
oldResize(window, width, height) -- oldResize(window, width, height)
tabs[window.tabBar.selectedItem].onTouch() -- tabs[window.tabBar.selectedItem].onTouch()
end -- end
tabs[1].onTouch = function() displayApps(1, "Application") end tabs[1].onTouch = function() displayApps(1, "Application") end
tabs[2].onTouch = function() displayApps(1, "Library") end tabs[2].onTouch = function() displayApps(1, "Library") end