mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 10:20:52 +00:00
Sol cookie editor can be run standalone.
This commit is contained in:
@@ -295,6 +295,12 @@ alias /?
|
||||
List all available configuration keys and current values.
|
||||
These keys can be used in -config pre-option.
|
||||
|
||||
-translator
|
||||
Runs the Translator app for FFDec localization
|
||||
|
||||
-soleditor
|
||||
Runs the Sol cookie editor as standalone application
|
||||
|
||||
Pre-options:
|
||||
-format <formats>
|
||||
Applies to: -export
|
||||
|
||||
@@ -145,7 +145,9 @@ import javax.swing.JOptionPane;
|
||||
import javax.swing.SwingWorker;
|
||||
import javax.swing.UIManager;
|
||||
import javax.swing.UnsupportedLookAndFeelException;
|
||||
import javax.swing.WindowConstants;
|
||||
import javax.swing.filechooser.FileFilter;
|
||||
import jsyntaxpane.DefaultSyntaxKit;
|
||||
import org.pushingpixels.substance.api.SubstanceLookAndFeel;
|
||||
|
||||
/**
|
||||
@@ -3054,6 +3056,15 @@ public class Main {
|
||||
reloadLastSession();
|
||||
}
|
||||
});
|
||||
} else if (args.length == 1 && "-soleditor".equals(args[0])) {
|
||||
initGui();
|
||||
checkLibraryVersion();
|
||||
View.execInEventDispatch(() -> {
|
||||
DefaultSyntaxKit.initKit();
|
||||
SolEditorFrame solEditor = new SolEditorFrame();
|
||||
solEditor.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||
solEditor.setVisible(true);
|
||||
});
|
||||
} else {
|
||||
checkLibraryVersion();
|
||||
setSessionLoaded(true);
|
||||
|
||||
Reference in New Issue
Block a user