elevation prompt && uac warning

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-09-27 13:30:49 +08:00
parent e1c2b8de6e
commit 728985e3bf
32 changed files with 156 additions and 16 deletions

View File

@@ -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");
}
});