From 10d998cd298be623a04c9ce695aa5cbe8d062406 Mon Sep 17 00:00:00 2001 From: DecDuck Date: Mon, 9 Dec 2024 20:41:36 +1100 Subject: [PATCH] fix: windows build --- desktop/src-tauri/src/db.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop/src-tauri/src/db.rs b/desktop/src-tauri/src/db.rs index d9122e62..38b11fcf 100644 --- a/desktop/src-tauri/src/db.rs +++ b/desktop/src-tauri/src/db.rs @@ -8,7 +8,6 @@ use std::{ use directories::BaseDirs; use log::debug; use rustbreak::{DeSerError, DeSerializer, PathDatabase}; -use rustix::path::Arg; use serde::{de::DeserializeOwned, Deserialize, Serialize}; use url::Url; @@ -112,7 +111,7 @@ impl DatabaseImpls for DatabaseInterface { game_versions: HashMap::new(), }, }; - debug!("Creating database at path {}", db_path.as_str().unwrap()); + debug!("Creating database at path {}", db_path.as_os_str().to_str().unwrap()); PathDatabase::create_at_path(db_path, default) .expect("Database could not be created") }