mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51: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
|
end
|
||||||
return output
|
return output
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function pack.is_installed(packid)
|
||||||
|
return file.isfile(packid..":package.json")
|
||||||
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue