mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-23 18:35:46 +00:00
plugin to fix the "bug" in issue #786
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user