Fetch export presets on ios and android

This commit is contained in:
Lubos Lenco
2021-09-08 11:21:01 +02:00
parent e4367cd087
commit 9f937c3e9e
-8
View File
@@ -331,18 +331,10 @@ class BoxExport {
}
static function fetchPresets() {
#if (krom_android || krom_ios)
files = ["generic"];
#else
files = File.readDirectory(Path.data() + Path.sep + "export_presets");
for (i in 0...files.length) {
files[i] = files[i].substr(0, files[i].length - 5); // Strip .json
}
#end
}
static function parsePreset() {