Skip to content

Commit

Permalink
modify data dir
Browse files Browse the repository at this point in the history
  • Loading branch information
benbensy committed Sep 20, 2024
1 parent dabe4de commit 4556f07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/utils/miru_directory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ class MiruDirectory {

static ensureInitialized() async {
if (Platform.isLinux) {
_appDocDir = Directory.fromUri(
Uri.parse("${Platform.environment['HOME']}/.config"));
_appDocDir = await getApplicationSupportDirectory();
} else {
_appDocDir = await getApplicationDocumentsDirectory();
}
Expand Down

0 comments on commit 4556f07

Please sign in to comment.