Skip to content

Windows installer packaging#143

Merged
xiami762 merged 18 commits intomainfrom
cj_packing
Apr 20, 2026
Merged

Windows installer packaging#143
xiami762 merged 18 commits intomainfrom
cj_packing

Conversation

@Jieatgit
Copy link
Copy Markdown
Contributor

No description provided.

Keep the Windows packaging code changes while excluding generated installer output from version control. Update the packaging checks and scripts so release artifacts are built in CI instead of being committed.
Make Windows uninstall cleanup safer by avoiding recursive install-root deletion and only clearing browser env vars that point to the current install. Also normalize packaging PowerShell scripts to UTF-8 BOM with CRLF for Windows PowerShell 5.1 compatibility.
Resolve conflicts by keeping the PR's Windows packaging workflow and scripts.
Cache Windows packaging downloads in CI and support configurable Chrome mirror URL fallback before the default source to reduce installer build latency.
Ensure Windows packaging runs JavaScript actions on Node 24, verifies bundled uv/node/chrome versions against the manifest, and makes Finish-page launch robust by injecting install env vars without single-quote path hazards.
Prevent Inno Setup from parsing PowerShell script-block braces as constants by escaping the postinstall launch command braces in the Windows installer script.
Read bundled Chrome version from file metadata instead of executing chrome.exe in CI, and add RunOnceId for the uninstall cleanup entry to remove installer warnings.
Bump checkout/cache/upload-artifact action versions across CI and Windows packaging workflows to remove Node 20 deprecation warnings while keeping workflow behavior unchanged.
Use Start-Process with bundled venv Python as primary path and flocks.cmd as fallback so installer Finish launch no longer exits without starting services.
…uninstall

Stop launching Flocks automatically on installer finish, update the completion hint with manual startup options, and recursively delete installed code under {app} during uninstall.
Show a bilingual warning when users choose Program Files as the install directory, clarifying that running or updating Flocks may require admin privileges.

Made-with: Cursor
Use the Chinese phrase expected by tests in the installer finish label while keeping the reopen-terminal guidance unchanged.

Made-with: Cursor
@xiami762 xiami762 self-requested a review April 20, 2026 10:57
Bundle a newer uv release in the Windows installer so existing user uv.toml
settings like python-downloads-json-url no longer break uv sync during setup.

Made-with: Cursor
Use the installer-bundled Node.js toolchain when resolving npm for WebUI
startup and updater rebuilds so Windows ARM64 installs avoid cross-arch rollup failures.

Made-with: Cursor
@xiami762 xiami762 merged commit 1715f1f into main Apr 20, 2026
3 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