Enhance OS warning

This commit is contained in:
Fierelier 2021-03-30 01:18:16 +02:00
parent 4be0c7c66f
commit ea36f55fbd

View File

@ -259,7 +259,7 @@ def main():
json.loads(lv["jvmArguments"]) json.loads(lv["jvmArguments"])
if not lv["osName"] in ["windows","linux","macos"]: if not lv["osName"] in ["windows","linux","macos"]:
print("Warning, unsupported OS detected: " +lv["osName"]) print("\nWarning, unsupported OS detected: '" +lv["osName"]+ "'")
print("Needs to be either windows, linux or macos. Define it with osName=name in the config.") print("Needs to be either windows, linux or macos. Define it with osName=name in the config.")
print("") print("")