Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHeitmann committed Dec 13, 2024
1 parent 320d1bd commit 806a790
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions assets/help/mcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Localized text for ui elements and subtitles.

file extensions: mcd

Important: This requires a python installation and the python executable has to be in the PATH. First time initialization can take a couple of seconds.

## Fonts

MCD files use fonts that each have a unique id, ranging from 0 to 11.
Expand Down
5 changes: 4 additions & 1 deletion lib/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,11 @@ Future<String?> exportDat(String datFolder, { bool checkForNesting = false, bool
}
}
if (datExportDir.isEmpty) {
if (datExportPath != null) {
datExportDir = dirname(datExportPath);
}
// select export path
if (exportDir.isEmpty) {
else if (exportDir.isEmpty) {
var dir = await FilePicker.platform.getDirectoryPath(
dialogTitle: "Select DAT export folder",
);
Expand Down

0 comments on commit 806a790

Please sign in to comment.