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

Allow running as admin in Wine #1868

Closed
wants to merge 1 commit into from
Closed

Conversation

foresto
Copy link
Contributor

@foresto foresto commented Nov 23, 2023

The admin privileges check introduced in #254 prevents working at all in Wine, which always reports admin privileges. Since there's no danger of causing permissions problems in that environment, allow it as a special case.

Hopefully closes #1720.

src/Setup/winmain.cpp Outdated Show resolved Hide resolved
@foresto
Copy link
Contributor Author

foresto commented Nov 24, 2023

Changes applied.

The admin privileges check introduced in Squirrel#254 prevents working at all in
Wine, which always reports admin privileges. Since there's no danger of
causing permissions problems in that case, allow it as a special case.

Hopefully closes Squirrel#1720.
@foresto
Copy link
Contributor Author

foresto commented Nov 24, 2023

Additional change applied: L"ntdll.dll"

@anaisbetts
Copy link
Contributor

anaisbetts commented Nov 24, 2023

Fixed this up manually and merged as aaec357

@anaisbetts anaisbetts closed this Nov 24, 2023
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.

feature request: Add flag to allow for bypassing UAC / admin check
2 participants