fix workflows

This commit is contained in:
Jonas Kruckenberg
2022-12-14 20:22:45 +01:00
parent 5600179000
commit fb764fc01c
7 changed files with 34 additions and 15 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
[package]
name = "tauri-bindgen-host-macro"
authors.workspace = true
version.workspace = true
name = "tauri-plugin-authenticator"
version = "0.1.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+9 -1
View File
@@ -264,7 +264,15 @@ impl LoggerBuilder {
.into()
}
LogTarget::LogDir => {
let path = app_handle.path_resolver().log_dir().unwrap();
let path = app_handle.path_resolver()
.log_dir().unwrap();
if !path.exists() {
fs::create_dir_all(&path).unwrap();
}