mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
lua: pack.is_installed function
This commit is contained in:
parent
bcc6fef74b
commit
92ac79ded6
1 changed files with 4 additions and 0 deletions
|
|
@ -136,3 +136,7 @@ function toml.parse(s)
|
|||
end
|
||||
return output
|
||||
end
|
||||
|
||||
function pack.is_installed(packid)
|
||||
return file.isfile(packid..":package.json")
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue