Use gui base when building with cx_Freeze

Since cx_Freeze>=7.0, 'Win32GUI' value for base is no more supported.

Closes #14606
This commit is contained in:
Cédric Krier
2026-02-14 09:49:11 +01:00
parent 2b7c3f9f89
commit b41dc54d6b
+1 -1
View File
@@ -141,7 +141,7 @@ setup(name='tryton',
},
executables=[Executable(
'bin/tryton',
base='Win32GUI' if sys.platform == 'win32' else None,
base='gui' if sys.platform == 'win32' else None,
icon=os.path.join(
'tryton', 'data', 'pixmaps', 'tryton', 'tryton.ico'),
)])