aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2024-09-08 12:29:06 -0400
committersowgro <tpoke.ferrari@gmail.com>2024-09-08 12:29:06 -0400
commit6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29 (patch)
treed5fd60bca70a3f00d9c1cf22704c09c7f13d2bd2 /pom.xml
parent69ce3be60fecfcfc85eb5e2edb3ffec0612703b3 (diff)
downloadNPEhero-6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29.tar.gz
NPEhero-6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29.tar.bz2
NPEhero-6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29.zip
create portable executable
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml41
1 files changed, 28 insertions, 13 deletions
diff --git a/pom.xml b/pom.xml
index 8df63fe..35e892b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,7 +101,7 @@
<noHeaderFiles>true</noHeaderFiles>
<jmodsPath>/home/sowgro/Code/jdk-22_windows-x64_bin/jdk-22.0.2</jmodsPath>
<options>-Dprism.forceGPU=true</options>
- <compress>2</compress>
+ <compress>0</compress>
</configuration>
<executions>
@@ -127,26 +127,41 @@
<runtimeImage>target/app</runtimeImage>
<module>net.sowgro.npehero/net.sowgro.npehero.Driver</module>
<destination>target/dist</destination>
- <!-- <icon>icons/icon.png</icon> in profile -->
-
- <linuxShortcut>true</linuxShortcut>
- <linuxMenuGroup>Game</linuxMenuGroup>
- <linuxRpmLicenseType>MIT</linuxRpmLicenseType>
-
- <winShortcut>true</winShortcut>
- <winDirChooser>true</winDirChooser>
- <winShortcut>true</winShortcut>
-
- <macPackageIdentifier>net.sowgro.npehero</macPackageIdentifier>
- <macAppCategory>music-games</macAppCategory>
</configuration>
<executions>
<execution>
+ <id>portable</id>
<goals>
<goal>jpackage</goal>
</goals>
<phase>package</phase>
+ <configuration>
+ <type>APP_IMAGE</type>
+ <name>npehero_portable</name>
+ </configuration>
+ </execution>
+
+ <execution>
+ <id>installer</id>
+ <goals>
+ <goal>jpackage</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <name>npehero_installer</name>
+
+ <linuxShortcut>true</linuxShortcut>
+ <linuxMenuGroup>Game</linuxMenuGroup>
+ <linuxRpmLicenseType>MIT</linuxRpmLicenseType>
+
+ <winShortcut>true</winShortcut>
+ <winDirChooser>true</winDirChooser>
+ <winShortcut>true</winShortcut>
+
+ <macPackageIdentifier>net.sowgro.npehero</macPackageIdentifier>
+ <macAppCategory>music-games</macAppCategory>
+ </configuration>
</execution>
</executions>
</plugin>