Skip to content

Commit 35113e2

Browse files
committed
Update install.lua
1 parent 741f7cf commit 35113e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/install.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,9 @@ function installer.generateCustomBasalt(files, basePath, branch)
449449
for k,v in pairs(projectFiles)do
450450
local folder = split(k, "/")
451451
if(#folder>1)then
452-
project[fs.combine(basePath, k)] = {content=v, folder=folder[1], url=""}
452+
project[fs.combine(basePath, k)] = {content=v, folder=folder[1], filename=folder[#folder], url=""}
453453
else
454-
project[fs.combine(basePath, k)] = {content=v, folder="", url=""}
454+
project[fs.combine(basePath, k)] = {content=v, folder="", filename=k, url=""}
455455
end
456456
end
457457

0 commit comments

Comments
 (0)