Open
Conversation
Prevents Windows Firewall prompt on first login and stops exposing the OAuth callback to the local network. The redirectUrl already uses 127.0.0.1, so this is consistent.
- Add win32 platform detection and Windows ARM64 guard - Use PowerShell Expand-Archive for .zip extraction on Windows (bare tar resolves to Git's GNU tar which breaks on Windows paths) - Escape single quotes in paths passed to PowerShell - Write-first binary replacement pattern for crash-safe self-update (running .exe cannot be overwritten on Windows, only renamed) - Recover interrupted updates on startup by completing pending .new files
- Add bun-windows-x64 matrix entry with zip packaging - Use matrix-driven --outfile and archive format - Checksums and release assets use polar-* wildcard - Add build:binary:windows-x64 script to package.json
Usage: powershell -ExecutionPolicy ByPass -c "irm .../install.ps1 | iex" Installs to ~/.polar/bin/, verifies SHA256 checksums, validates version response, and updates user PATH.
Author
|
Hi @emilwidlund would appreciate you taking a look at this. |
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.
Adding full Windows x64 support.
Tested on Windows 11 x64, Bun 1.3.9.
Closes #3