Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from anonymous123-code/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricked-dev authored Mar 20, 2022
2 parents 2e8742e + 1cc9b0d commit 3cc593f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Config {
}

static init() async {
_appdir = defaultDirectories[TargetPlatform.linux] ??
_appdir = defaultDirectories[defaultTargetPlatform] ??
(await getApplicationSupportDirectory()).path;
_configFile = File("$_appdir/settings.json");

Expand Down
2 changes: 1 addition & 1 deletion lib/src/screens/version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class _VersionPage extends State<VersionPage> {

@override
Widget build(BuildContext context) {
Directory("${Config.appDir}/modlists/${widget.version}/").create();
Directory("${Config.appDir}/modlists/${widget.version}/").create(recursive: true);
final padding = PageHeader.horizontalPadding(context);

return Container(
Expand Down

0 comments on commit 3cc593f

Please sign in to comment.