Assume linux when an unsupported OS is detected
This commit is contained in:
parent
8eed0995bf
commit
d6ce99321f
@ -45,6 +45,8 @@ if len(sys.argv) > 1:
|
||||
if not lv["osName"] in ["windows","linux","macos"]:
|
||||
print(colored(colorama.Fore.YELLOW,"\nWarning, unsupported OS detected: '" +lv["osName"]+ "'"),file=sys.stderr)
|
||||
print("Needs to be either windows, linux or macos. Define it with osName=name in the config.",file=sys.stderr)
|
||||
print(colored(colorama.Fore.PURPLE,"Falling back to assuming Linux."))
|
||||
lv["osName"] = "linux"
|
||||
|
||||
print("")
|
||||
if not "version" in lv: lv["version"] = input("Version ID: ")
|
||||
|
Loading…
Reference in New Issue
Block a user