feat(win): add one-click dev/build scripts and porting design doc#42
Open
feibang191 wants to merge 1 commit into
Open
feat(win): add one-click dev/build scripts and porting design doc#42feibang191 wants to merge 1 commit into
feibang191 wants to merge 1 commit into
Conversation
Add Windows developer experience tooling: scripts/windows-dev-quickstart.ps1 Single command to bring up the dev loop on a clean Windows machine. Verifies Node 24, runs npm install, then starts vite + electron. scripts/windows-dist-quickstart.ps1 Single command to produce the NSIS installer. Mirrors the package.json dist:win pipeline and adds optional smoke-test hooks. docs/windows-port-design-2026-06-04.md Design document covering the 5 porting principles, key engineering decisions, test matrix, and commit/PR guidance for the Windows platform support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR: feat(win): add one-click dev/build scripts and porting design doc
Summary
Add Windows developer experience tooling to make it easy for Windows contributors to set up, develop, and build WeSight.
Changes
New files
scripts/windows-dev-quickstart.ps1scripts/windows-dist-quickstart.ps1docs/windows-port-design-2026-06-04.mdscripts/windows-dev-quickstart.ps1(101 lines)Single PowerShell command to bring up the dev loop on a clean Windows machine:
npm installifnode_modulesis absentnpm run electron:devwith Vite dev server on port 5175scripts/windows-dist-quickstart.ps1(168 lines)Single PowerShell command to produce the NSIS installer:
--SkipRuntime,--SkipPython,--NoSmokeTestflagspackage.json dist:winpipeline with optional hooksdocs/windows-port-design-2026-06-04.md(184 lines)Design document covering:
src/main/libsTesting
windows-dev-quickstart.ps1verified on Windows 11 x64 with Node 24.16windows-dist-quickstart.ps1verified on Windows 11 x64, produces 294 MB NSIS installerNotes