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
+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();
}