Skip to content

Commit

Permalink
Generate exe
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrptonaught committed Oct 26, 2023
1 parent a9ff486 commit 8a5f28a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,35 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>Toolbox 2.0</finalName>
<appendAssemblyId>false</appendAssemblyId>
<archive>
<manifest>
<mainClass>net.kyrptonaught.ToolBox.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<executions>
<execution>
<id>l4j-clui</id>
<phase>package</phase>
<goals><goal>launch4j</goal></goals>
<configuration>
<headerType>console</headerType>
<outfile>target/dist/Toolbox 2.0.exe</outfile>
<jar>target/dist/Toolbox 2.0.jar</jar>
<icon>BattleModeIcon.ico</icon>
<jre>
<path>%JAVA_HOME%;%PATH%</path>
</jre>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 8a5f28a

Please sign in to comment.