mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
Do not run elevated by default (#884)
Make the runner not run as elevated by default. Add a setting for "run PowerToys as elevated" and buttons to restart the process with the different elevation levels.
This commit is contained in:
committed by
GitHub
parent
fd8fc679be
commit
619ed234a9
5
src/runner/restart_elevated.h
Normal file
5
src/runner/restart_elevated.h
Normal file
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
void schedule_restart_as_elevated();
|
||||
void schedule_restart_as_non_elevated();
|
||||
bool is_restart_scheduled();
|
||||
bool restart_if_scheduled();
|
||||
Reference in New Issue
Block a user