Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] source code #15

Open
Commandcracker opened this issue Sep 2, 2023 · 0 comments
Open

[Question] source code #15

Commandcracker opened this issue Sep 2, 2023 · 0 comments

Comments

@Commandcracker
Copy link
Contributor

Where is the source code of the install.lua ?

I would like to add functionality to

if not fs.isDir(tArgs[1]) then
  fs.makeDir(tArgs[1])
end

for _,dir in ipairs(dirs) do
  local fpath = root .. dir
  print("dir " .. fpath)
  if not fs.isDir(fpath) then
    fs.makeDir(fpath)
  end
end

i = 1
while i<#files do
  sleep(0.05)
  local fpath = root .. files[i]
  local data = files[i+1]
  print("file " .. fpath)
  local file = fs.open(fpath, "w")
  file.write(data)
  file.close()
  i = i+2
end

Please provide information about building the installer in README.md and maybe provide the build tool in this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant