Skip to content

elevate: close the original window once the admin window opens - #50

Merged
therepos merged 1 commit into
mainfrom
claude/friendly-fermat-yo4qid
Nov 23, 2026
Merged

therepos merged 1 commit into
mainfrom
claude/friendly-fermat-yo4qid

Conversation

@therepos

Copy link
Copy Markdown
Owner

Only one window at a time: after the admin window opens, the non-admin window that started it closes. Refusing the admin prompt keeps it open with Cancelled. (now for the classic-console fallback too). Applies to agentprofiler, appupdate, hibernate, systeminfo via the shared elevate block; AGENTS.md updated.

Test on Windows: run each script from a normal terminal; accept UAC → only the admin window remains; decline UAC → original stays with Cancelled.


Generated by Claude Code

@therepos
therepos merged commit 399ff94 into main Nov 23, 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