Elevation check & comment fixes

This commit is contained in:
KingRainbow44
2022-06-06 00:01:13 -04:00
parent 2007157e4c
commit 0b24a2bb22
3 changed files with 25 additions and 9 deletions

View File

@@ -85,4 +85,9 @@ pub fn install_location() -> String {
exe_path.pop();
return exe_path.to_str().unwrap().to_string();
}
#[tauri::command]
pub fn is_elevated() -> bool {
return is_elevated::is_elevated();
}