Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect if running elevated #1650

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nathanctech
Copy link

Simple code (with command-line arg override) to detect if running elevated and toss an error to the user if so. Hopefully will prevent clobbered file permissions in the future. Tested on Windows 11 with a local administrator and UAC prompt. It does not trigger if UAC is disabled on the machine, though.

@KazWolfe
Copy link
Member

KazWolfe commented Dec 1, 2024

Ref goatcorp/Dalamud#1137

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