Skip to content

Improve Windows setup, launcher, and hotkey lifecycle - #487

Merged
1jehuang merged 32 commits into
masterfrom
feat/windows-setup-copilot-key
Jul 17, 2026
Merged

1jehuang merged 32 commits into
masterfrom
feat/windows-setup-copilot-key

Conversation

@1jehuang

@1jehuang 1jehuang commented Jul 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • make the Windows launcher install, upgrade, PATH update, rollback, and uninstall lifecycle robust and idempotent
  • keep Alacritty and global-hotkey setup explicitly opt-in
  • validate downloaded release checksums and binary versions, and make source builds explicit
  • preserve the three macOS/Linux launch bindings on Windows as Alt+;, Alt+', and Alt+Shift+', with the physical Copilot key as the only additional binding
  • capture the Windows-reserved Copilot chord with a native low-level hook while normal launch keys continue using RegisterHotKey
  • select native Windows ARM64 assets even when PowerShell or Git Bash is running under x64 emulation
  • prevent isolated installer verification from leaking temporary PATH entries or stopping the user's active listener
  • keep Windows awake during active Jcode work with the native execution-state inhibitor
  • fix Windows mouse-wheel routing so wheel input scrolls transcript history instead of recalling previous prompts
  • add Alt+5 to reset and open a pristine, synthetic onboarding simulation without touching real auth or configuration

Validation

  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts/test_windows_launcher_install.ps1
  • powershell -NoProfile -ExecutionPolicy Bypass -File scripts/test_windows_setup_evaluation.ps1
  • bash scripts/test_install_conversion.sh, including x64-emulated Git Bash on ARM64
  • cargo +stable-x86_64-pc-windows-gnullvm check -p jcode-setup-hints --lib --target x86_64-pc-windows-gnullvm
  • official v0.47.0 Windows binary install, reinstall, hotkey, PATH restoration, and active-listener preservation lifecycle
  • injected Alt+; and Win+Shift+F23 events reached the active current-machine listener end to end
  • cargo fmt --all -- --check
  • full native Windows linking, platform tests, and guardrails run in CI because this local Windows host does not have the MSVC linker/SDK installed

Closes #488

@1jehuang
1jehuang force-pushed the feat/windows-setup-copilot-key branch 2 times, most recently from 057e575 to 8a8cf64 Compare July 16, 2026 23:39
@1jehuang
1jehuang force-pushed the feat/windows-setup-copilot-key branch from 36e6936 to d807ab6 Compare July 17, 2026 01:32
@1jehuang
1jehuang merged commit b8e0329 into master Jul 17, 2026
8 checks passed
vpelikh pushed a commit to vpelikh/jcode that referenced this pull request Aug 30, 2026
…g#487)

Harden Windows installation, uninstallation, hotkey, Copilot-key, power-inhibition, terminal mouse, and onboarding behavior.

Includes strict installer verification, lifecycle cleanup, Windows-specific CI coverage, and the reviewed safety fixes added before merge.

Closes 1jehuang#488.
vpelikh added a commit to vpelikh/jcode that referenced this pull request Sep 3, 2026
…g#487)

Harden Windows installation, uninstallation, hotkey, Copilot-key, power-inhibition, terminal mouse, and onboarding behavior.

Includes strict installer verification, lifecycle cleanup, Windows-specific CI coverage, and the reviewed safety fixes added before merge.

Closes 1jehuang#488.
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.

Improve Windows setup lifecycle, terminal scrolling, and onboarding simulation

1 participant