Skip to content

Commit 8f3e5a1

Browse files
committed
Delete EZInjection/Run
Refactor MainViewerGui
1 parent d91cbc5 commit 8f3e5a1

File tree

6 files changed

+564
-971
lines changed

6 files changed

+564
-971
lines changed

src/main/java/the/bytecode/club/bytecodeviewer/BytecodeViewer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public void run()
150150
viewer.calledAfterLoad();
151151
resetRecentFilesMenu();
152152

153-
if (viewer.chckbxmntmNewCheckItem_12.isSelected())
153+
if (viewer.mntmUpdateCheck.isSelected())
154154
versionChecker.start();
155155

156156
if (!cli)

src/main/java/the/bytecode/club/bytecodeviewer/api/BytecodeHook.java

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/main/java/the/bytecode/club/bytecodeviewer/api/BytecodeViewer.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import org.objectweb.asm.tree.ClassNode;
44
import the.bytecode.club.bytecodeviewer.JarUtils;
55
import the.bytecode.club.bytecodeviewer.decompilers.Decompiler;
6-
import the.bytecode.club.bytecodeviewer.plugin.preinstalled.EZInjection;
76

87
import java.io.File;
98
import java.io.IOException;
@@ -159,16 +158,6 @@ public static ArrayList<ClassNode> getLoadedClasses()
159158
return the.bytecode.club.bytecodeviewer.BytecodeViewer.getLoadedClasses();
160159
}
161160

162-
/**
163-
* Used to insert a Bytecode Hook using EZ-Injection.
164-
*
165-
* @param hook
166-
*/
167-
public static void insertHook(BytecodeHook hook)
168-
{
169-
EZInjection.hookArray.add(hook);
170-
}
171-
172161
/**
173162
* This will ask the user if they really want to reset the workspace, then
174163
* it'll reset the work space.

0 commit comments

Comments
 (0)