aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/win/build-node-runtime.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/win/build-node-runtime.ps1')
-rw-r--r--packaging/win/build-node-runtime.ps16
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/win/build-node-runtime.ps1 b/packaging/win/build-node-runtime.ps1
index 42d1faa..aa5e759 100644
--- a/packaging/win/build-node-runtime.ps1
+++ b/packaging/win/build-node-runtime.ps1
@@ -105,8 +105,10 @@ finally {
}
$frozen = Join-Path $pyiDist "meshbay-node"
-if (-not (Test-Path (Join-Path $frozen "meshbay-node.exe"))) {
- throw "PyInstaller did not produce meshbay-node.exe at $frozen"
+foreach ($name in "meshbay-node.exe", "meshbay-nodew.exe") {
+ if (-not (Test-Path (Join-Path $frozen $name))) {
+ throw "PyInstaller did not produce $name at $frozen"
+ }
}
# --- 3b. licences ----------------------------------------------------