fix(macos): Logs directory not created by default #1353

This commit is contained in:
Kingkor Roy Tirtho 2024-05-05 09:15:52 +06:00
parent 2286277a06
commit 4ca893950b

View File

@ -27,7 +27,7 @@ Future<File> getLogsPath() async {
} }
final file = File(path.join(dir, ".spotube_logs")); final file = File(path.join(dir, ".spotube_logs"));
if (!await file.exists()) { if (!await file.exists()) {
await file.create(); await file.create(recursive: true);
} }
return file; return file;
} }