[meld/windows-fixes] Update win32 setup to use non-deprecated executable options



commit be1fe17c002cde3291db15ae527814dfab9137c3
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Tue Aug 9 07:57:17 2022 +1000

    Update win32 setup to use non-deprecated executable options
    
    These have been deprecated in current cx_Freeze.

 setup_win32.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/setup_win32.py b/setup_win32.py
index 1a54221a..832ede4c 100755
--- a/setup_win32.py
+++ b/setup_win32.py
@@ -127,12 +127,12 @@ console_executable_options = dict(executable_options)
 if 'mingw' in sysconfig.get_platform():
     executable_options.update({
         "base": "Win32GUI",  # comment to build console version to see stderr
-        "targetName": "Meld.exe",
-        "shortcutName": "Meld",
-        "shortcutDir": "ProgramMenuFolder",
+        "target_name": "Meld.exe",
+        "shortcut_name": "Meld",
+        "shortcut_dir": "ProgramMenuFolder",
     })
     console_executable_options.update({
-        "targetName": "MeldConsole.exe",
+        "target_name": "MeldConsole.exe",
     })
 
 # Copy conf.py in place if necessary


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]