aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2022-05-03 00:20:05 +0200
committer0neGal <mail@0negal.com>2022-05-03 00:20:05 +0200
commite5fa26a944f8a4d025ce9fcc2aa1ec8fbf26874b (patch)
treeeb6868cc0daf48a9fde81118fa3cf45097722b38 /build
parent32b033d6dac63cb6cf783394d20459dd44b9459a (diff)
downloadViper-e5fa26a944f8a4d025ce9fcc2aa1ec8fbf26874b.tar.gz
Viper-e5fa26a944f8a4d025ce9fcc2aa1ec8fbf26874b.zip
simplified get() and made list() used get()
Instead of repeating code and everything, get() now only returns a boolean, based on the arg inputted into get(mod), it returns true if the mod is enabled and false if disabled. If the mod isn't found inside the enabledmods.json it is assumed that it's enabled, as Northstar doesn't update this unless you actually disable the mod first, and the mod won't be found in there. Then I used get() to simplify list() a whole lot, and adding that functionality of using the manifest for a version number if one couldn't be found in the mod.json.
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions