aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/win/meshbay-node.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/win/meshbay-node.spec')
-rw-r--r--packaging/win/meshbay-node.spec25
1 files changed, 25 insertions, 0 deletions
diff --git a/packaging/win/meshbay-node.spec b/packaging/win/meshbay-node.spec
index 3261778..a1173a2 100644
--- a/packaging/win/meshbay-node.spec
+++ b/packaging/win/meshbay-node.spec
@@ -153,8 +153,33 @@ exe = EXE(
icon="../../packages/meshbay-client/build/icon.ico",
version=_version_info,
)
+# The same daemon without a console, for what starts it with nobody watching:
+# the Store package's startup task runs its executable as is, and a console
+# executable opened a window whose close button killed the node. The CLI stays
+# meshbay-node.exe, which has to print. Same entry point and archive, same
+# _internal\ beside both (pythonw.exe beside python.exe).
+exe_windowless = EXE(
+ pyz,
+ a.scripts,
+ [],
+ exclude_binaries=True,
+ name="meshbay-nodew",
+ debug=False,
+ bootloader_ignore_signals=False,
+ strip=False,
+ upx=False,
+ console=False,
+ disable_windowed_traceback=False,
+ argv_emulation=False,
+ target_arch=None,
+ codesign_identity=None,
+ entitlements_file=None,
+ icon="../../packages/meshbay-client/build/icon.ico",
+ version=_version_info,
+)
coll = COLLECT(
exe,
+ exe_windowless,
a.binaries,
a.datas,
strip=False,