fix(desktop): read wayland preference from store (#13081)

This commit is contained in:
Brendan Allan
2026-02-11 16:10:24 +08:00
committed by GitHub
parent 213a87234d
commit 783888131e
2 changed files with 9 additions and 6 deletions

View File

@@ -402,7 +402,7 @@ fn check_linux_app(app_name: &str) -> bool {
#[tauri::command]
#[specta::specta]
fn wsl_path(path: String, mode: Option<WslPathMode>) -> Result<String, String> {
if !cfg(windows) {
if !cfg!(windows) {
return Ok(path);
}