re-add opening as admin

This commit is contained in:
SpikeHD
2023-04-21 12:47:44 -07:00
parent a6716e80f4
commit 829b9822cb
5 changed files with 12 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
use crate::system_helpers::*;
use std::path::{ Path, PathBuf };
use std::path::{Path, PathBuf};
#[tauri::command]
pub async fn get_lang(window: tauri::Window, lang: String) -> String {
@@ -55,4 +55,4 @@ pub fn emit_lang_err(window: tauri::Window, msg: String) {
res_hash.insert("error".to_string(), msg);
window.emit("lang_error", &res_hash).unwrap();
}
}