Plugin Fixes

This commit is contained in:
Konloch 2021-07-23 15:46:19 -07:00
parent 683207d4b0
commit 10df99c750
4 changed files with 5 additions and 9 deletions

View file

@ -15,7 +15,7 @@ public class ExampleStringDecrypter extends Plugin {
@Override @Override
public void execute(ArrayList<ClassNode> classNodesList) { public void execute(ArrayList<ClassNode> classNodesList) {
PluginConsole gui = new PluginConsole(activeContainer.name + "Example String Decrypter"); PluginConsole gui = new PluginConsole(activeContainer.name + " - Example String Decrypter");
MultipleChoiceDialog dialog = new MultipleChoiceDialog("Bytecode Viewer - WARNING", MultipleChoiceDialog dialog = new MultipleChoiceDialog("Bytecode Viewer - WARNING",
"WARNING: This will load the classes into the JVM and execute the initialize function" "WARNING: This will load the classes into the JVM and execute the initialize function"

View file

@ -139,12 +139,8 @@ public class EZInjection extends Plugin
@Override @Override
public void execute(ArrayList<ClassNode> classNodeList) public void execute(ArrayList<ClassNode> classNodeList)
{ {
PluginConsole gui = new PluginConsole(activeContainer.name + " - EZ Injection v" + version); if(console)
new PluginConsole(activeContainer.name + " - EZ Injection v" + version);
gui.setText("");
if (console)
gui.setVisible(true);
if (accessModifiers) if (accessModifiers)
print("Setting all of the access modifiers to public/public static."); print("Setting all of the access modifiers to public/public static.");

View file

@ -13,7 +13,7 @@ public class Template extends Plugin
public void execute(ArrayList<ClassNode> classNodeList) public void execute(ArrayList<ClassNode> classNodeList)
{ {
//create console //create console
gui = new PluginConsole(activeContainer.name + "Java Template"); gui = new PluginConsole(activeContainer.name + " - Java Template");
gui.setVisible(true); //show the console gui.setVisible(true); //show the console
//debug text //debug text

View file

@ -7,7 +7,7 @@ var gui;
*/ */
function execute(classNodeList) function execute(classNodeList)
{ {
gui = new PluginConsole(activeContainer.name + "Javascript Template"); gui = new PluginConsole(activeContainer.name + " - Javascript Template");
gui.setVisible(true); //show the console gui.setVisible(true); //show the console
out("Class Nodes: " + classNodeList.size()); out("Class Nodes: " + classNodeList.size());