mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-29 19:50:42 +02:00
feat(os): add locale API (#391)
This commit is contained in:
@@ -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