From 04f4c1cf7e98352249d2fc6431900d8970ad716a Mon Sep 17 00:00:00 2001 From: Henri Wahl Date: Thu, 8 Aug 2024 14:46:28 +0200 Subject: [PATCH] Windows Python 3.11.9 debug --- build/build.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/build.py b/build/build.py index aa92c16c..b6ae617b 100644 --- a/build/build.py +++ b/build/build.py @@ -117,8 +117,6 @@ def winmain(): '..\\nagstamon.py'], shell=True) - print(subprocess) - if SIGNING: # environment variables will be used by powershell script for signing subprocess.run(['pwsh.exe', './windows/code_signing.ps1', 'build/Nagstamon/Nagstamon.exe']) @@ -152,7 +150,7 @@ def winmain(): print(r'/Dresources={0}{1}resources'.format(DIR_BUILD_NAGSTAMON, os.sep)) # execute InnoSetup with many variables set by ISCC.EXE outside .iss file - subprocess.call([ISCC, + result = subprocess.call([ISCC, r'/Dsource={0}'.format(DIR_BUILD_NAGSTAMON), r'/Dversion_is={0}'.format(VERSION_IS), r'/Dversion={0}'.format(VERSION), @@ -162,6 +160,9 @@ def winmain(): r'/O{0}{1}dist'.format(CURRENT_DIR, os.sep), r'{0}{1}windows{1}nagstamon.iss'.format(CURRENT_DIR, os.sep)], shell=True) + + print(result) + if SIGNING: # environment variables will be used by powershell script for signing subprocess.run(['pwsh.exe', '../windows/code_signing.ps1', '*.exe'])