Skip to content

Commit

Permalink
update Mac launcher stub to v3.0.6 and add Plist key 'NSAppleEventsUs…
Browse files Browse the repository at this point in the history
…ageDescription'

as described in tofi86/universalJavaApplicationStub#77
  • Loading branch information
Tobias Fischer committed Mar 19, 2020
1 parent 4b6c195 commit 11d6b1c
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
<skipCheckoutIfExists>true</skipCheckoutIfExists>
<!-- checkout a specific tag / pinned version -->
<scmVersionType>tag</scmVersionType>
<scmVersion>v3.0.4</scmVersion>
<scmVersion>v3.0.6</scmVersion>
</configuration>
</execution>
</executions>
Expand Down Expand Up @@ -398,6 +398,23 @@
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>plist-update</id>
<phase>prepare-package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<skip>${maven.codesign.skip}</skip>
<executable>/usr/libexec/PlistBuddy</executable>
<workingDirectory>${project.build.directory}</workingDirectory>
<arguments>
<argument>-c</argument>
<argument>Add :NSAppleEventsUsageDescription string There was an error while launching pagina EPUB-Checker. Please click OK to display a dialog with more information or cancel and view the syslog for details.</argument>
<argument>${project.build.directory}/${my.finalShortName}.app/Contents/Info.plist</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>codesign-macApp</id>
<phase>prepare-package</phase>
Expand Down

0 comments on commit 11d6b1c

Please sign in to comment.