mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-16 12:21:28 +03:00
elevation prompt && uac warning
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -1242,3 +1242,9 @@ function refreshCurrentUser() {
|
||||
function getHttpHeaders() {
|
||||
return "Authorization: Bearer " + handler.get_local_option("access_token");
|
||||
}
|
||||
|
||||
$(body).timer(1000, function check_elevation(){
|
||||
if (is_win && handler.is_release() && !handler.is_installed() && !handler.is_root()) {
|
||||
msgbox("custom-elevation-nocancel", "Prompt", "elevation_prompt");
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user