#499 Cannot save via Proxy fixed

This commit is contained in:
Honfika
2014-02-02 20:14:44 +01:00
parent bc71301456
commit f6ab852c96

View File

@@ -65,7 +65,12 @@ public class SWFSourceInfo {
public boolean isBundle() {
if (inputStream == null) {
String extension = Helper.getExtension(new File(file));
File fileObj = new File(file);
String fileName = fileObj.getName();
if (fileName.startsWith("asdec_") && fileName.endsWith(".tmp")) {
return false;
}
String extension = Helper.getExtension(fileObj);
return !(extension.equals(".swf") || extension.equals(".gfx"));
}
return false;