exe export fix

This commit is contained in:
2015-09-24 15:49:12 +02:00
parent eee92d02a4
commit b147153441
2 changed files with 9 additions and 7 deletions
+9 -6
View File
@@ -721,6 +721,9 @@ public class Main {
ExeExportMode exeExportMode = null;
if (mode == SaveFileMode.EXE) {
exeExportMode = Configuration.exeExportMode.get();
if (exeExportMode == null) {
exeExportMode = ExeExportMode.WRAPPER;
}
String filterDescription = null;
switch (exeExportMode) {
case WRAPPER:
@@ -732,12 +735,12 @@ public class Main {
ext = ".dmg";
filterDescription = "filter.dmg";
break;
/*case PROJECTOR_LINUX:
// linux projector is compressed with tar.gz
// todo: decompress
ext = "";
filterDescription = "filter.linuxExe";
break;*/
case PROJECTOR_LINUX:
// linux projector is compressed with tar.gz
// todo: decompress
ext = "";
filterDescription = "filter.linuxExe";
break;
}
String fext = ext;