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

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",
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/",
type="Application",
icon="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic",
createShortcut="dock",
forceDownload=true,
version=1.63,
version=1.64,
resources={
{
path="/Update.pic",

View File

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