diff --git a/contrib/build-wine/deterministic.spec b/contrib/build-wine/deterministic.spec index 9578c4bd0..cddd1f30c 100644 --- a/contrib/build-wine/deterministic.spec +++ b/contrib/build-wine/deterministic.spec @@ -139,7 +139,7 @@ exe_portable = EXE( ##### # exe and separate files that NSIS uses to build installer "setup" exe -exe_dependent = EXE( +exe_inside_setup_noconsole = EXE( pyz, a.scripts, exclude_binaries=True, @@ -150,8 +150,20 @@ exe_dependent = EXE( icon=home+'electrum/gui/icons/electrum.ico', console=False) +exe_inside_setup_console = EXE( + pyz, + a.scripts, + exclude_binaries=True, + name=os.path.join('build\\pyi.win32\\electrum', cmdline_name+"-debug"), + debug=False, + strip=None, + upx=False, + icon=home+'electrum/gui/icons/electrum.ico', + console=True) + coll = COLLECT( - exe_dependent, + exe_inside_setup_noconsole, + exe_inside_setup_console, a.binaries, a.zipfiles, a.datas,