Check if jvmArguments setting is valid json
This commit is contained in:
parent
728969c8f1
commit
4be0c7c66f
@ -256,6 +256,8 @@ def main():
|
||||
else:
|
||||
lv[argSplit[0]] = True
|
||||
|
||||
json.loads(lv["jvmArguments"])
|
||||
|
||||
if not lv["osName"] in ["windows","linux","macos"]:
|
||||
print("Warning, unsupported OS detected: " +lv["osName"])
|
||||
print("Needs to be either windows, linux or macos. Define it with osName=name in the config.")
|
||||
|
Loading…
Reference in New Issue
Block a user