Skip to content

Commit

Permalink
Changes to Remastered
Browse files Browse the repository at this point in the history
  • Loading branch information
apkreader committed Oct 13, 2020
1 parent 5dc8aca commit 90ddef0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
8 changes: 3 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>GraxCode</groupId>
<artifactId>JByteMod</artifactId>
<version>Reborn</version>
<artifactId>JByteMod-Remastered</artifactId>
<version>2.0</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -14,8 +14,7 @@
<kotlin.version>1.3.50</kotlin.version>
</properties>
<build>
<!--<sourceDirectory>src</sourceDirectory> -->
<plugins>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down Expand Up @@ -101,7 +100,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
8 changes: 6 additions & 2 deletions src/main/java/me/grax/jbytemod/JByteMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,19 @@
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;
import java.io.IOException;
import java.lang.instrument.Instrumentation;
import java.lang.reflect.Field;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Properties;

public class JByteMod extends JFrame {

private static final String jbytemod = "JByteMod Reborn";
private static final String version = "2.0";
private static final String jbytemod = "JByteMod Remastered v" + version;

public static File workingDir = new File(".");
public static String configPath = "jbytemod.cfg";
public static Logging LOGGER;
Expand Down Expand Up @@ -484,4 +487,5 @@ public void treeSelection(ClassNode cn, MethodNode mn) {
}
}).start();
}

}
2 changes: 1 addition & 1 deletion src/main/java/me/grax/jbytemod/discord/Discord.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class Discord {

public static void init() {
discordRPC = DiscordRPC.INSTANCE;
String applicationId = "610647709694558231";
String applicationId = "765649706877190195";
DiscordEventHandlers handlers = new DiscordEventHandlers();
handlers.ready = (user) -> JByteMod.LOGGER.log("Discord is now ready.");

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/me/grax/jbytemod/ui/JAboutFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void actionPerformed(ActionEvent e) {
JTextPane title = new JTextPane();
title.setContentType("text/html");
title.setText(TextUtils.toHtml(jbm.getTitle()
+ "<br/>Copyright \u00A9 2016-2018 noverify<br/><br/>Copyright \u00A9 2019 Panda<br/><br/>JByteMod by noverify, Reborn by Panda<br/><font color=\"#0000EE\"><u>https://github.com/GraxCode/JByteMod-Beta</u></font><br/>Donate LTC: <font color=\"#333333\">LhwXLVASzb6t4vHSssA9FQwq2X5gAg8EKX</font>"));
+ "<br/>Copyright \u00A9 2016-2018 noverify<br/><br/>Copyright \u00A9 2019 Panda<br/><br/>Copyright \u00A9 2020 xBrownieCodez<br/><br/>JByteMod by noverify, Reborn by Panda, Remastered by xBrownieCodez<br/><font color=\"#0000EE\"><u>https://github.com/GraxCode/JByteMod-Beta</u></font><br/>Donate LTC: <font color=\"#333333\">LhwXLVASzb6t4vHSssA9FQwq2X5gAg8EKX</font>"));
UIDefaults defaults = new UIDefaults();
defaults.put("TextPane[Enabled].backgroundPainter", this.getBackground());
title.putClientProperty("Nimbus.Overrides", defaults);
Expand Down

0 comments on commit 90ddef0

Please sign in to comment.