From a085335a4c0936c792ed65bce0a498cbab01423d Mon Sep 17 00:00:00 2001 From: igneum-labs <337424239+igneum-labs@users.noreply.github.com> Date: Tue, 6 Oct 2026 16:20:52 +0000 Subject: [PATCH] wallet 0.1.5: write_wallet_config reads the token through the 0.3.13 tree's helpers (TOKEN_FILE no longer exists) Co-Authored-By: Claude Fable 5.1 --- packaging/mac/packaged-config.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packaging/mac/packaged-config.sh b/packaging/mac/packaged-config.sh index edd4994e5..e623fcf25 100644 --- a/packaging/mac/packaged-config.sh +++ b/packaging/mac/packaged-config.sh @@ -87,9 +87,10 @@ WALLET_PUBLIC_RPC='' WALLET_ADD_NETWORK_PAGE='https://igneum.network/wallet/add' write_wallet_config() { local out="$1" token="" manifest="" - [ -f "$TOKEN_FILE" ] && token="$(tr -d '[:space:]' < "$TOKEN_FILE")" - [ -n "$token" ] && manifest="https://dl.igneum.network/dl/$token/igneum-wallet-latest.json" - [ -n "$manifest" ] || echo "note: no $TOKEN_FILE; the update check is disabled in this build" + # the token as write_packaged_config reads it (6 October 2026: the .next-file helpers of the 0.3.13 tree) + token="$(igneum_read_trimmed "$(igneum_secret_file IGNEUM_DL_TOKEN_FILE dl-token)")" + [ -n "$token" ] && manifest="${DL_HOST:-https://dl.igneum.network}/dl/$token/igneum-wallet-latest.json" + [ -n "$manifest" ] || echo "note: no download token file; the update check is disabled in this build" local override_line="" [ -n "$NODE_OVERRIDE_PARAMS" ] && override_line=" \"node_override_params\": $NODE_OVERRIDE_PARAMS," cat > "$out" <