add additional warning for skiplauncher

This commit is contained in:
Concedo 2024-04-23 18:26:16 +08:00
parent b4d2031215
commit f449da3ba9

View file

@ -2862,6 +2862,8 @@ def main(launch_args,start_server=True):
exitcounter = 999
ermsg = "Reason: " + str(ex) + "\nFile selection GUI unsupported.\ncustomtkinter python module required!\nPlease check command line: script.py --help"
show_gui_msgbox("Warning, GUI failed to start",ermsg)
if args.skiplauncher:
print(f"Note: In order to use --skiplauncher, you need to specify a model with --model")
time.sleep(3)
sys.exit(2)