mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-09-14 11:06:16 +05:00
Fixed market AGAIN
This commit is contained in:
parent
00d40d5a86
commit
4a4ef0defe
@ -483,12 +483,13 @@ local function download(publication)
|
||||
local container = GUI.addBackgroundContainer(workspace, true, true, localization.choosePath)
|
||||
|
||||
local versionsTable = getVersionsTable(publication.file_id)
|
||||
|
||||
local filesystemChooserPath = versionsTable[publication.file_id] and getApplicationPathFromVersions(versionsTable[publication.file_id].path)
|
||||
if not filesystemChooserPath then
|
||||
if publication.category_id == 1 then
|
||||
filesystemChooserPath = downloadPaths[publication.category_id] .. publication.publication_name .. ".app"
|
||||
filesystemChooserPath = downloadPaths[publication.category_id] .. publication.publication_name .. ".app/"
|
||||
elseif publication.category_id == 4 then
|
||||
filesystemChooserPath = downloadPaths[publication.category_id] .. publication.publication_name .. ".wlp"
|
||||
filesystemChooserPath = downloadPaths[publication.category_id] .. publication.publication_name .. ".wlp/"
|
||||
else
|
||||
filesystemChooserPath = downloadPaths[publication.category_id] .. publication.path
|
||||
end
|
||||
@ -530,6 +531,7 @@ local function download(publication)
|
||||
if not idiNahooy[blyad] then
|
||||
idiNahooy[blyad] = {}
|
||||
end
|
||||
|
||||
idiNahooy = idiNahooy[blyad]
|
||||
end
|
||||
|
||||
@ -542,6 +544,7 @@ local function download(publication)
|
||||
-- Пизда для формирования той ебалы, как ее там
|
||||
local function pizda(t, offset, initPath)
|
||||
for chlen, devka in pairs(t) do
|
||||
|
||||
if devka.path then
|
||||
tree:addItem(filesystem.name(devka.path), devka.path, offset, false)
|
||||
else
|
||||
|
||||
@ -2531,7 +2531,7 @@ local function treeEventHandler(workspace, tree, e1, e2, e3, e4, e5, ...)
|
||||
end
|
||||
|
||||
if tree.onItemExpanded then
|
||||
tree.onItemExpanded(tree.selectedItem, e1, e2, e3, e4, e5, ...)
|
||||
tree.onItemExpanded(tree.items[i], e1, e2, e3, e4, e5, ...)
|
||||
end
|
||||
else
|
||||
if
|
||||
|
||||
Loading…
Reference in New Issue
Block a user