Przeglądaj źródła

- update desktop deployment data for osx

Normen Hansen 10 lat temu
rodzic
commit
407056278a

+ 5 - 0
sdk/jme3-desktop-executables/macapp-data/Info.plist

@@ -28,8 +28,13 @@
   <string>1</string>
   <key>NSHumanReadableCopyright</key>
   <string>Unknown</string>
+  <!-- Put the JRE in /Contents/Plugins/jdk1.8.0_31.jdk (or name specified below) -->
+  <!--key>JVMRuntime</key>
+  <string>jdk1.8.0_31.jdk</string-->
   <key>JVMMainClassName</key>
   <string>${main.class}</string>
+  <key>JVMMainJarName</key>
+  <string>${jar.name}</string>
   <key>JVMOptions</key>
   <array>
       <string>${run.jvmargs}</string>

BIN
sdk/jme3-desktop-executables/macapp-data/osx-stub


BIN
sdk/jme3-desktop-executables/src/com/jme3/gde/desktop/executables/macapp-data.zip


+ 1 - 0
sdk/jme3-desktop-executables/src/com/jme3/gde/desktop/executables/macapp-targets.xml

@@ -16,6 +16,7 @@
                 <replacestring from="$${run.jvmargs}" to="${jfxdeploy.jvmargs}"/>
                 <replacestring from="$${application.title}" to="${application.title}"/>
                 <replacestring from="$${jfxdeploy.jvmargs}" to="-Xnoagent"/>
+                <replacestring from="$${jar.name}" to="${application.title}.jar"/>
             </filterchain>
         </copy>
         <zip destfile="${dist.dir}/${application.title}-MacOSX.zip">