clumsy icon indicating copy to clipboard operation
clumsy copied to clipboard

Move checkIsRunning after tryElevate to ensure that we have permission to create GLOBAL event

Open stephen9358 opened this issue 2 years ago • 2 comments

Fix the mismatched error message when running with non-admin context.

stephen9358 avatar Oct 23 '23 03:10 stephen9358

Hi! What's this PR is fixing? Is that elevate would fail in some cases?

jagt avatar Oct 23 '23 03:10 jagt

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.

image

stephen9358 avatar Oct 23 '23 06:10 stephen9358