refactor: 添加使用许可说明
This commit is contained in:
5 files changed
+12
-5
No files matched your search
@@ -30,7 +30,7 @@ impl Database {
|
||||
fn get_bundled_database_path(app_handle: &tauri::AppHandle) -> Result<PathBuf> {
|
||||
let resource_path = app_handle
|
||||
.path()
|
||||
.resolve("data.db", tauri::path::BaseDirectory::Resource)?;
|
||||
.resolve("../../resources/data.db", tauri::path::BaseDirectory::Resource)?;
|
||||
|
||||
println!("Database path: {:?}", resource_path);
|
||||
Ok(resource_path)
|
||||
|
||||
Reference in new issue
Block a user