diff --git a/assets/help/mcd.md b/assets/help/mcd.md index 669959d..81c198f 100644 --- a/assets/help/mcd.md +++ b/assets/help/mcd.md @@ -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. diff --git a/lib/utils/utils.dart b/lib/utils/utils.dart index 7189671..b891acf 100644 --- a/lib/utils/utils.dart +++ b/lib/utils/utils.dart @@ -607,8 +607,11 @@ Future 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", );