plugin to fix the "bug" in issue #786

This commit is contained in:
honfika@gmail.com
2015-10-22 09:00:27 +02:00
parent 77292daf2f
commit f10303b4ab
11 changed files with 1750 additions and 14 deletions

View File

@@ -1146,13 +1146,14 @@ public class Main {
public static void main(String[] args) throws IOException {
clearTemp();
String pluginPath = Configuration.pluginPath.get();
if (pluginPath != null && !pluginPath.isEmpty()) {
try {
SWFDecompilerPlugin.loadPlugin(pluginPath);
} catch (Throwable e) {
View.showMessageDialog(null, "Failed to load plugin: " + pluginPath);
}
//String pluginPath = Configuration.pluginPath.get();
//if (pluginPath != null && !pluginPath.isEmpty()) {
//}
try {
SWFDecompilerPlugin.loadPlugins();
} catch (Throwable ex) {
logger.log(Level.SEVERE, "Failed to load plugins", ex);
}
AppStrings.setResourceClass(MainFrame.class);