clumsy
clumsy copied to clipboard
Move checkIsRunning after tryElevate to ensure that we have permission to create GLOBAL event
Fix the mismatched error message when running with non-admin context.
Hi! What's this PR is fixing? Is that elevate would fail in some cases?
Hi! What's this PR is fixing? Is that elevate would fail in some cases?
Creating global event will fail without elevating first, so we see a MessageBox saying that already running, which it's not an accurate error message.