Squirrel / Squirrel.Windows

An installation and update framework for Windows desktop apps
MIT License
7.23k stars 1.02k forks source link

Allow running as admin in Wine #1868

Closed foresto closed 7 months ago

foresto commented 7 months ago

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.

foresto commented 7 months ago

Changes applied.

foresto commented 7 months ago

Additional change applied: L"ntdll.dll"

anaisbetts commented 7 months ago

Fixed this up manually and merged as https://github.com/Squirrel/Squirrel.Windows/commit/aaec357835514af347d6507d9127eda7eafbd740