mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-14 16:37:22 +02:00
feat(os): add locale API (#391)
This commit is contained in:
committed by
GitHub
parent
5676e77209
commit
7e3034904c
@@ -28,3 +28,8 @@ pub fn arch() -> &'static str {
|
||||
pub fn tempdir() -> PathBuf {
|
||||
crate::tempdir()
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn locale() -> Option<String> {
|
||||
crate::locale()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user