Commit cf414235 authored by Matija Obreza's avatar Matija Obreza
Browse files

Switch macos bundler

parent c3ddb7d7
......@@ -30,22 +30,38 @@
<build>
<plugins>
<plugin>
<groupId>sh.tak.appbundler</groupId>
<artifactId>appbundle-maven-plugin</artifactId>
<version>1.2.1-SNAPSHOT</version>
<groupId>de.perdian.maven.plugins</groupId>
<artifactId>macosappbundler-maven-plugin</artifactId>
<version>1.10.0</version>
<configuration>
<mainClass>org.genesys2.anno.gui.AppWindow</mainClass>
<bundleName>Genesys Magic</bundleName>
<dictionaryFile>Info.plist</dictionaryFile>
<diskImageInternetEnable>true</diskImageInternetEnable>
<generateDiskImageFile>true</generateDiskImageFile>
<jvmVersion>11</jvmVersion>
<jvmOptions>
<jvmOption>
-XstartOnFirstThread
</jvmOption>
</jvmOptions>
<!-- <iconFile>CustomIncon.icns</iconFile> -->
<plist>
<CFBundleIconFile>anno.icns</CFBundleIconFile>
<CFBundleName>Genesys Uploader</CFBundleName>
<CFBundleDisplayName>Genesys Uploader</CFBundleDisplayName>
<CFBundleDevelopmentRegion>English</CFBundleDevelopmentRegion>
<CFBundleURLTypes>
<string>msa</string>
</CFBundleURLTypes>
<JVMMainClassName>org.genesys2.anno.gui.AppWindow</JVMMainClassName>
<JVMVersion>11+</JVMVersion>
<JVMOptions>
<string>-XstartOnFirstThread</string>
</JVMOptions>
<!-- <JVMArguments>
<string>-XstartOnFirstThread</string>
</JVMArguments>
-->
</plist>
<dmg>
<generate>true</generate>
<appendVersion>true</appendVersion>
<additionalResources>
<additionalResource>
<directory>../anno-docs/target/</directory>
<include>anno-manual-3.0-SNAPSHOT.pdf</include>
</additionalResource>
</additionalResources>
</dmg>
</configuration>
<executions>
<execution>
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>${cfBundleExecutable}</string>
<key>CFBundleIconFile</key>
<string>${iconFile}</string>
<key>CFBundleIdentifier</key>
<string>${mainClass}</string>
<key>CFBundleDisplayName</key>
<string>${bundleName}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${bundleName}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>${version}</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>NSHumanReadableCopyright</key>
<string></string>
<key>NSHighResolutionCapable</key>
<true/>
<key>JVMRuntime</key>
<string>${jrePath}</string>
<key>JVMRuntimePath</key>
<string>${jreFullPath}</string>
<key>JVMDebug</key>
<string>${jvmDebug}</string>
<key>JDKPreferred</key>
<string>${jdkPreferred}</string>
<key>JREPreferred</key>
<string>${jrePreferred}</string>
<key>JVMMainClassName</key>
<string>${mainClass}</string>
<key>JVMClassPaths</key>
${classpath}
<key>JVMVersion</key>
<string>${jvmVersion}</string>
<key>JVMOptions</key>
${jvmOptions}
<key>JVMArguments</key>
<array/>
<key>LauncherWorkingDirectory</key>
<string>${workingDirectory}</string>
</dict>
</plist>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment