Skip to content

fix(windows-installer): require elevation for installer shortcuts#255

Merged
xiami762 merged 1 commit into
devfrom
fix/windows-shortcut-uac-elevation
May 12, 2026
Merged

fix(windows-installer): require elevation for installer shortcuts#255
xiami762 merged 1 commit into
devfrom
fix/windows-shortcut-uac-elevation

Conversation

@xiami762
Copy link
Copy Markdown
Contributor

@xiami762 xiami762 commented May 12, 2026

Summary

  • route installer-created desktop and Start menu launch shortcuts through an elevated PowerShell helper
  • keep %USERPROFILE%\.local\bin\flocks.cmd start as the actual app entrypoint while making shortcut launches trigger UAC
  • add packaging tests that lock the shortcut target and elevated launcher behavior

Route installer-created desktop and Start menu launchers through an elevated PowerShell helper so Windows prompts for UAC before starting Flocks. This keeps the shared flocks.cmd wrapper as the real entrypoint while preventing updater failures caused by insufficient permissions.

Co-authored-by: Cursor <cursoragent@cursor.com>
@xiami762 xiami762 merged commit f48d769 into dev May 12, 2026
1 check 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.

2 participants