Skip to content

Windows builds from the scoped npm packages - #20

Merged
Kushalkhemka merged 5 commits into
pi-boltfrom
feat/install-cmd
Oct 12, 2026
Merged

Kushalkhemka merged 5 commits into
pi-boltfrom
feat/install-cmd

Conversation

@Kushalkhemka

@Kushalkhemka Kushalkhemka commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

install.ps1 downloads Windows builds from the npm packages @kushalkhemka/pi-bolt-win32-x64 and -x64-jit (published for 0.8.5, same .zip as the release, checked against the signed SHA256SUMS). npm does not accept the unscoped names. Releases without them come from GitHub as before.

Published by re-running publish.yml for bolt-v0.8.5 (no new release). npm install -g pi-bolt on Windows keeps downloading from GitHub until the next release, whose npm/install.cjs and publish-npm-builds.sh will use the scoped names.

curl -fsSL https://pi-bolt.opensec.in/install.cmd -o install.cmd && install.cmd && del install.cmd runs install.ps1 in Windows PowerShell; publish puts it on the site next to install.sh and install.ps1.
…-bolt-win32-*

npm does not accept the unscoped names; the scoped ones hold the same release .zip, checked against the signed SHA256SUMS as before. Releases without them still come from GitHub.
Copilot AI balanced review requested due to automatic review settings October 12, 2026 07:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T07:38:11.453079Z 238193c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Command Prompt keeps powershell -c "irm https://pi-bolt.opensec.in/install.ps1 | iex".
@Kushalkhemka Kushalkhemka changed the title Command Prompt installer, Windows builds from npm Windows builds from the scoped npm packages Oct 12, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 238193cea2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread install.cmd Outdated
rem
rem It runs install.ps1 in Windows PowerShell, which downloads a release, verifies its checksum and signature and installs
rem it. Its environment variables (PIBOLT_VERSION, PIBOLT_VARIANT, ...) work here too.
powershell -c "irm https://pi-bolt.opensec.in/install.ps1 | iex"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Propagate the installer's PowerShell status

When install.ps1 catches an installation failure such as a checksum mismatch, its final handler assigns $global:LASTEXITCODE = 1 and completes normally. powershell -Command determines its process status from $?, not from a manually assigned $LASTEXITCODE; Microsoft's documentation explicitly requires exit $LASTEXITCODE to preserve that value. Consequently this command returns 0, line 9 propagates success, and the documented && del install.cmd continues despite the failed installation; append ; exit $LASTEXITCODE to the PowerShell command.

Useful? React with 👍 / 👎.

@Kushalkhemka
Kushalkhemka merged commit a1314a5 into pi-bolt Oct 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants