diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2024-09-08 12:29:06 -0400 | 
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2024-09-08 12:29:06 -0400 | 
| commit | 6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29 (patch) | |
| tree | d5fd60bca70a3f00d9c1cf22704c09c7f13d2bd2 | |
| parent | 69ce3be60fecfcfc85eb5e2edb3ffec0612703b3 (diff) | |
| download | NPEhero-6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29.tar.gz NPEhero-6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29.tar.bz2 NPEhero-6e1cf252b0cf45c2daaa3b69414d25a6f5df3b29.zip  | |
create portable executable
Diffstat (limited to '')
| -rw-r--r-- | pom.xml | 41 | 
1 files changed, 28 insertions, 13 deletions
@@ -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>  | 
