mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-09 12:42:39 +01:00
Багфикс аппмаркета
This commit is contained in:
parent
58fe2d9508
commit
c174cb7d14
@ -920,7 +920,7 @@
|
||||
icon="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/Applications/AppMarket/Icon.pic",
|
||||
createShortcut="dock",
|
||||
forceDownload=true,
|
||||
version=1.61,
|
||||
version=1.62,
|
||||
resources={
|
||||
{
|
||||
path="/Update.pic",
|
||||
|
||||
@ -31,12 +31,12 @@ local function newApp(x, y, width, applicationListElement, hideDownloadButton)
|
||||
if applicationListElement.icon then
|
||||
web.downloadFile(applicationListElement.icon, temproraryIconPath)
|
||||
app.icon.image = image.load(temproraryIconPath)
|
||||
else
|
||||
if applicationListElement.type == "Wallpaper" then
|
||||
app.icon.image = MineOSCore.icons.image
|
||||
elseif applicationListElement.type == "Library" then
|
||||
app.icon.image = MineOSCore.icons.lua
|
||||
end
|
||||
-- else
|
||||
-- if applicationListElement.type == "Wallpaper" then
|
||||
-- app.icon.image = MineOSCore.icons.image
|
||||
-- elseif applicationListElement.type == "Library" then
|
||||
-- app.icon.image = MineOSCore.icons.lua
|
||||
-- end
|
||||
end
|
||||
|
||||
app.downloadButton = app:addChild(GUI.button(1, 1, 13, 1, 0x66DB80, 0xFFFFFF, 0x339240, 0xFFFFFF, localization.download))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user