Only show the console on windows (#972)

This apparently breaks builds on MacOS. Linux doesn't seem to need it either.
This commit is contained in:
gentlegiantJGC 2023-09-16 09:41:12 +01:00 committed by GitHub
parent c0d528f4db
commit e76ebe39f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ exe = EXE(
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=True,
console=os.name == "nt", # Only show the console on windows
icon="icon.ico",
)
coll = COLLECT(