Да ебучий ж маркет

This commit is contained in:
IgorTimofeev 2024-01-31 01:09:36 +03:00
parent 5adb4bdeda
commit 00d40d5a86

View File

@ -449,7 +449,7 @@ end
local function getApplicationPathFromVersions(versionsPath) local function getApplicationPathFromVersions(versionsPath)
-- return versionsPath:gsub("%.app/Main%.lua", ".app") -- return versionsPath:gsub("%.app/Main%.lua", ".app")
return versionsPath:match("%.[awlp]+/Main%.lua") and filesystem.path(versionsPath) or versionsPath return versionsPath:match("%.[awlp]+/+Main%.lua") and filesystem.path(versionsPath) or versionsPath
end end
local function getDependencyPath(mainFilePath, dependency) local function getDependencyPath(mainFilePath, dependency)
@ -505,7 +505,7 @@ local function download(publication)
tree.items = {} tree.items = {}
tree.fromItem = 1 tree.fromItem = 1
mainFilePath = filesystemChooser.path .. (((publication.category_id == 1 or publication.category_id == 4) and "/Main.lua") or "") mainFilePath = filesystemChooser.path .. (((publication.category_id == 1 or publication.category_id == 4) and "Main.lua") or "")
-- Вот тута будет йоба-древо -- Вот тута будет йоба-древо
local dependencyTree = {} local dependencyTree = {}