feat(os): add locale API (#391)

This commit is contained in:
Lucas Fernandes Nogueira
2023-05-23 18:29:57 -07:00
committed by GitHub
parent 5676e77209
commit 7e3034904c
6 changed files with 43 additions and 3 deletions
+5
View File
@@ -28,3 +28,8 @@ pub fn arch() -> &'static str {
pub fn tempdir() -> PathBuf {
crate::tempdir()
}
#[tauri::command]
pub fn locale() -> Option<String> {
crate::locale()
}