details:   https://code.tryton.org/tryton/commit/8d0759bc0e9a
branch:    default
user:      Cédric Krier <[email protected]>
date:      Sat Feb 14 09:49:11 2026 +0100
description:
        Use gui base when building with cx_Freeze

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

        Closes #14606
diffstat:

 tryton/setup-freeze.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ade39f93e1f7 -r 8d0759bc0e9a tryton/setup-freeze.py
--- a/tryton/setup-freeze.py    Mon Feb 16 13:31:03 2026 +0100
+++ b/tryton/setup-freeze.py    Sat Feb 14 09:49:11 2026 +0100
@@ -141,7 +141,7 @@
         },
     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'),
             )])

Reply via email to