This commit is contained in:
Jonas Kruckenberg committed 2022-12-14 20:29:38 +01:00
1 parent ce18e44181
commit 1a65ec95f2
1 file changed
+1 -9
+1 -9
View File
@@ -264,15 +264,7 @@ impl LoggerBuilder {
.into() .into()
} }
LogTarget::LogDir => { LogTarget::LogDir => {
let path = app_handle.path_resolver() let path = app_handle.path_resolver().log_dir().unwrap();
.log_dir().unwrap();
if !path.exists() { if !path.exists() {
fs::create_dir_all(&path).unwrap(); fs::create_dir_all(&path).unwrap();
} }