diff options
Diffstat (limited to 'packaging')
| -rwxr-xr-x | packaging/build/build-node.sh | 2 | ||||
| -rw-r--r-- | packaging/win/README.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packaging/build/build-node.sh b/packaging/build/build-node.sh index c7e7577..74d1d40 100755 --- a/packaging/build/build-node.sh +++ b/packaging/build/build-node.sh @@ -53,7 +53,7 @@ mkdir -p "$ROOT/opt/meshbay-node/share" # must read it, and it is the same token in every copy of the package. No # token, no build: an empty one goes unnoticed. DEFAULT_ENV="$REPO/QE/default.env" -TOKEN_LINE="$(head -n 1 "$DEFAULT_ENV" 2>/dev/null | tr -d '\r')" +TOKEN_LINE="$(head -n 1 "$DEFAULT_ENV" 2>/dev/null | tr -d '\r' || true)" if ! [[ "$TOKEN_LINE" =~ ^MESHBAY_TMDB_DEFAULT_TOKEN=eyJ[A-Za-z0-9_.-]+$ ]]; then echo "!! $DEFAULT_ENV missing, or its first line is not MESHBAY_TMDB_DEFAULT_TOKEN=eyJ... (no BOM)" >&2 exit 1 diff --git a/packaging/win/README.md b/packaging/win/README.md index 89185fe..959e651 100644 --- a/packaging/win/README.md +++ b/packaging/win/README.md @@ -37,7 +37,7 @@ way — not LocalSystem/NetworkService, which would have none of this. `build/installer.nsh` also adds `…\resources\node-runtime` to the **per-user** `Path` (`HKCU\Environment`) so `meshbay-node` and `meshbay-cli` work in a terminal, and takes it back out on uninstall. The Store package declares an -execution alias for each instead (`build/appx-extensions.xml`). New shells only — a `WM_SETTINGCHANGE` broadcast nudges +execution alias for each instead (the node's in `build/appx-extensions.xml`; the client's on an application of its own in `build/appx-manifest.xml`, since an application declares one alias). New shells only — a `WM_SETTINGCHANGE` broadcast nudges open ones. It uses stock `WordFunc.nsh` (the `EnVar` plugin is not in electron-builder's NSIS bundle). |