fix: Windows UAC elevation for game launches#169
Conversation
child_process.spawn uses CreateProcess and cannot show the UAC prompt for executables that require administrator privileges. Route Windows legacy launches through PowerShell Start-Process so ShellExecute handles manifest elevation requests. Closes #168 Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
closing this pr. i don't like this solution. this is why we don't vibe-code lol |
Summary
Start-Process(ShellExecute) instead ofchild_process.spawn(CreateProcess), so Windows can show the UAC elevation prompt forrequireAdministratormanifestsTest plan
bun run build:all && bun run typecheckinapplication/Closes #168
Made with Cursor