mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4877] [MERGED] fix: accept valid pnpm output in Windows installer #6525
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6525
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4877
Author: @SpicyMarinara
Created: 8/10/2026
Status: ✅ Merged
Merged: 8/10/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/fix-windows-pnpm-version-check📝 Commits (3)
b5ed348chore: start Windows pnpm installer fix86fd7cbfix Windows pnpm version validationa2a66e1harden pnpm installer regression guard📊 Changes
3 files changed (+50 additions, -13 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
scripts/check-windows-installer-layout.mjs(+20 -1)📝
win/installer/installer.nsi(+29 -12)📄 Description
Linked issue
Closes #4875
Why this change
The Windows NSIS installer piped
pnpm --versionthroughfindstr /X. On affected Windows systems pnpm emits an LF-only line ending, causingfindstrto return failure even though the exact required pnpm version is available. This left every pnpm runner and the npm fallback falsely rejected.What changed
findstrvalidation.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated/local checks run:
pnpm checknode scripts/check-windows-installer-layout.mjspnpm version:checkpnpm guard:installer-artifactspnpm exec prettier --check scripts/check-windows-installer-layout.mjsmakensis -V3 installer.nsigit diff --checkManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedNo user guide changes are needed; the existing pnpm troubleshooting commands remain correct.
CHANGELOG.mdrecords the fix.UI evidence (if applicable)
Not applicable.
Summary by CodeRabbit
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.