summaryrefslogtreecommitdiffstats
path: root/packaging/win/node-entry.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/win/node-entry.py')
-rw-r--r--packaging/win/node-entry.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/packaging/win/node-entry.py b/packaging/win/node-entry.py
new file mode 100644
index 0000000..6fadad7
--- /dev/null
+++ b/packaging/win/node-entry.py
@@ -0,0 +1,12 @@
+"""PyInstaller entry point for the bundled Windows node daemon.
+
+`meshbay_node.daemon:main` is a module function; PyInstaller freezes a script.
+This is that script — nothing more. The frozen binary is `meshbay-node.exe`,
+relocatable, and is what the desktop client spawns and what the W3 autostart
+launcher points at (`meshbay_node.platform._node_exe`).
+"""
+
+from meshbay_node.daemon import main
+
+if __name__ == "__main__":
+ main()