Fix installer.

This commit is contained in:
Andrew Lalis 2023-04-27 12:35:47 +02:00
parent f9a9398c74
commit 66ca84fd9f
1 changed files with 5 additions and 2 deletions

View File

@ -23,8 +23,11 @@ for _, lib in pairs(libs) do
end end
print("Downloaded " .. lib) print("Downloaded " .. lib)
end end
print("Done!") print("----------------------------")
for _, lib in pairs(libs) do for _, lib in pairs(libs) do
local m = require(lib) local nameIdx = string.find(lib, "%.")
local name = string.sub(lib, nameIdx - 1, -1)
local m = require(name)
print(" " .. lib .. " installed with version " .. m.VERSION) print(" " .. lib .. " installed with version " .. m.VERSION)
end end
print("Done!")