Update install.lua

This commit is contained in:
Robert Jelic
2023-05-15 06:20:02 +02:00
parent 741f7cf4ec
commit 35113e2a7d

View File

@@ -449,9 +449,9 @@ function installer.generateCustomBasalt(files, basePath, branch)
for k,v in pairs(projectFiles)do
local folder = split(k, "/")
if(#folder>1)then
project[fs.combine(basePath, k)] = {content=v, folder=folder[1], url=""}
project[fs.combine(basePath, k)] = {content=v, folder=folder[1], filename=folder[#folder], url=""}
else
project[fs.combine(basePath, k)] = {content=v, folder="", url=""}
project[fs.combine(basePath, k)] = {content=v, folder="", filename=k, url=""}
end
end