This commit is contained in:
Eduardo Alonso 2020-01-21 20:38:45 +01:00 committed by sirjonasxx
parent 11f4f8e456
commit b16e59595f
4 changed files with 7 additions and 28 deletions

View File

@ -11,7 +11,7 @@
<version>1.0</version>
<properties>
<javafx.version>12</javafx.version>
<javafx.version>11</javafx.version>
</properties>
<parent>
@ -36,7 +36,7 @@
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
<mainClass>gearth.J12Main</mainClass>
<mainClass>gearth.J11Main</mainClass>
<useUniqueVersions>false</useUniqueVersions>
</manifest>
</archive>
@ -58,7 +58,7 @@
<outputDirectory>${project.build.directory}/bin</outputDirectory>
<archive>
<manifest>
<mainClass>gearth.J12Main</mainClass>
<mainClass>gearth.J11Main</mainClass>
</manifest>
</archive>
<descriptorRefs>

View File

@ -1,6 +1,6 @@
package gearth;
public class J12Main {
public class J11Main {
public static void main(String[] args) {
Main.main(args);
}

View File

@ -79,7 +79,7 @@ public class WindowsHabboClient extends HabboClient {
}
}
String g_winmem = new File(this.getClass().getProtectionDomain().getCodeSource().getLocation().toURI()).getParent() + "\\G-WinMem.exe";
String g_winmem = new File(this.getClass().getProtectionDomain().getCodeSource().getLocation().toURI()).getParent() + "\\G-Mem.exe";
if (!useCache)
pb = new ProcessBuilder(g_winmem, hConnection.getClientHostAndPort().substring(0, hConnection.getClientHostAndPort().indexOf(':')) , Integer.toString(hConnection.getPort()));
else

25
pom.xml
View File

@ -9,11 +9,6 @@
<packaging>pom</packaging>
<version>1.0</version>
<properties>
<maven.compiler.source>12</maven.compiler.source>
<maven.compiler.target>12</maven.compiler.target>
</properties>
<name>G-Earth-Parent</name>
<url>https://github.com/sirjonasxx/G-Earth</url>
<description>Cross Platform Habbo packetlogger/manipulator</description>
@ -35,27 +30,11 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>12</source>
<target>12</target>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<!-- this would copy dependencies if we were building a non-standalone JAR -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/bin/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>