Skip to content

install node in goose dir (#7220)#7267

Merged
lifeizhou-ap merged 1 commit intorelease/1.25.0from
lifei/cherry-pick-fix-for-issue6816
Feb 17, 2026
Merged

install node in goose dir (#7220)#7267
lifeizhou-ap merged 1 commit intorelease/1.25.0from
lifei/cherry-pick-fix-for-issue6816

Conversation

@lifeizhou-ap
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 17, 2026 08:41
@lifeizhou-ap lifeizhou-ap merged commit f925f7d into release/1.25.0 Feb 17, 2026
8 checks passed
@lifeizhou-ap lifeizhou-ap deleted the lifei/cherry-pick-fix-for-issue6816 branch February 17, 2026 08:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR replaces the system-wide Node.js installation approach with a portable, version-pinned Node.js installation that downloads to the user's local Goose directory. The change eliminates the need for admin privileges and provides better version control.

Changes:

  • Removed separate install-node.cmd script in favor of integrated portable Node.js installation in npx.cmd
  • Modified npx.cmd to download and extract Node.js v22.14.0 to %LOCALAPPDATA%\Goose\node on-demand
  • Updated winShims.ts to no longer copy the now-deleted install-node.cmd file
  • Added workflow_dispatch trigger to Windows bundle workflow for manual testing

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
ui/desktop/src/utils/winShims.ts Removed install-node.cmd from the list of Windows shims to copy
ui/desktop/src/platform/windows/bin/npx.cmd Replaced system Node.js lookup with portable Node.js download and installation logic
ui/desktop/src/platform/windows/bin/install-node.cmd Deleted file - functionality moved into npx.cmd
.github/workflows/bundle-desktop-windows.yml Added workflow_dispatch trigger for manual workflow execution

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.

1 participant

Comments