Fix installer.
This commit is contained in:
parent
f9a9398c74
commit
66ca84fd9f
|
@ -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!")
|
||||||
|
|
Loading…
Reference in New Issue