From b41dc54d6b9d45fe86a4af63ea145a7358f14570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 14 Feb 2026 09:49:11 +0100 Subject: [PATCH] Use gui base when building with cx_Freeze Since cx_Freeze>=7.0, 'Win32GUI' value for base is no more supported. Closes #14606 --- tryton/setup-freeze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/setup-freeze.py b/tryton/setup-freeze.py index 322a2fe773..934f34d716 100755 --- a/tryton/setup-freeze.py +++ b/tryton/setup-freeze.py @@ -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'), )])