Skip to content

Commit

Permalink
Fixes #145 by changing package type from dmg to pkg. (#153)
Browse files Browse the repository at this point in the history
User can now install package if they are admins by pressing ctrl, click on the package and choose open.
  • Loading branch information
erikmafo authored Aug 13, 2022
1 parent 10d7678 commit 98b5d12
Showing 1 changed file with 2 additions and 34 deletions.
36 changes: 2 additions & 34 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.erikmafo</groupId>
<artifactId>littletableviewer</artifactId>
<version>1.0.5</version>
<version>1.0.6</version>
<packaging>jar</packaging>
<name>Little Table Viewer</name>

Expand Down Expand Up @@ -70,7 +70,6 @@
<goals>
<goal>copy-resources</goal>
</goals>

<configuration>
<outputDirectory>${project.build.directory}/app</outputDirectory>
<resources>
Expand Down Expand Up @@ -103,35 +102,6 @@
<artifactId>exec-maven-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>runtimeImage</id>
<phase>install</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>${java.home}/bin/jlink</executable>
<arguments>
<argument>--module-path=${java.home}/jmods/</argument>
<argument>--add-modules=java.base</argument>
<argument>--add-modules=java.prefs</argument>
<argument>--add-modules=java.desktop</argument>
<argument>--add-modules=java.net.http</argument>
<argument>--add-modules=java.xml</argument>
<argument>--add-modules=java.prefs</argument>
<argument>--add-modules=java.logging</argument>
<argument>--add-modules=java.sql</argument>
<argument>--add-modules=javafx.base</argument>
<argument>--add-modules=javafx.controls</argument>
<argument>--add-modules=javafx.fxml</argument>
<argument>--add-modules=javafx.graphics</argument>
<argument>--add-modules=javafx.web</argument>d
<argument>--add-modules=javafx.media</argument>
<argument>--add-modules=java.management</argument>
<argument>--output=${project.build.directory}/image</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>installer</id>
<phase>install</phase>
Expand All @@ -158,8 +128,6 @@
<argument>LICENSE</argument>
<argument>--app-version</argument>
<argument>${project.version}</argument>
<argument>--runtime-image</argument>
<argument>${project.build.directory}/image</argument>
<argument>--verbose</argument>
</arguments>
</configuration>
Expand Down Expand Up @@ -339,7 +307,7 @@
</os>
</activation>
<properties>
<jpackage.type>dmg</jpackage.type>
<jpackage.type>pkg</jpackage.type>
</properties>
</profile>
</profiles>
Expand Down

0 comments on commit 98b5d12

Please sign in to comment.