mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix(macos): Logs directory not created by default #1353
This commit is contained in:
parent
2286277a06
commit
4ca893950b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user