|
@ -400,7 +400,7 @@ local function installPackage(pack, path, update) |
|
|
end |
|
|
end |
|
|
nPath = fs.concat(path, j, string.gsub(i, ".+(/.-)$", "%1"), nil) |
|
|
nPath = fs.concat(path, j, string.gsub(i, ".+(/.-)$", "%1"), nil) |
|
|
end |
|
|
end |
|
|
local success = pcall(downloadFile, "https://raw.githubusercontent.com/" .. repo .. "/" .. i, nPath) |
|
|
|
|
|
|
|
|
local success = pcall(downloadFile, repo .. "/" .. i, nPath) |
|
|
if success then |
|
|
if success then |
|
|
tPacks[pack][i] = nPath |
|
|
tPacks[pack][i] = nPath |
|
|
end |
|
|
end |
|
|