Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Fixed packaging for YaCy 1.90 on MacOS

galix3380531a2f64
diff --git a/addon/YaCy.app/Contents/Info.plist b/addon/YaCy.app/Contents/Info.plist
index 2d46c21f2..69804aa9f 100644
--- a/addon/YaCy.app/Contents/Info.plist
+++ b/addon/YaCy.app/Contents/Info.plist
@@ -7,7 +7,7 @@
<key>CFBundleDisplayName</key>
<string>YaCy</string>
<key>CFBundleShortVersionString</key>
-<string>1.82</string>
+<string>1.90</string>
<key>CFBundleGetInfoString</key>
<string>Peer-to-Peer Search Engine</string>
<key>NSHumanReadableCopyright</key>
@@ -15,11 +15,11 @@
<key>CFBundleIdentifier</key>
<string>net.yacy.yacy</string>
<key>CFBundleVersion</key>
-<string>1.82</string>
+<string>1.90</string>
<key>CFBundleAllowMixedLocalizations</key>
<string>true</string>
<key>CFBundleExecutable</key>
-<string>JavaAppLauncher</string>
+<string>startYACY.sh</string>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundlePackageType</key>
@@ -30,14 +30,5 @@
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>YaCy_2013_Icon.icns</string>
-<key>JVMMainClassName</key>
-<string>net.yacy.yacy</string>
-<key>JVMOptions</key>
-<array>
-</array>
-<key>JVMArguments</key>
-<array>
-</array>
-
</dict>
</plist>
diff --git a/addon/YaCy.app/Contents/MacOS/JavaAppLauncher b/addon/YaCy.app/Contents/MacOS/JavaAppLauncher
deleted file mode 100755
index 7bddebea2..000000000
Binary files a/addon/YaCy.app/Contents/MacOS/JavaAppLauncher and /dev/null differ
diff --git a/build.xml b/build.xml
index 6e56795da..faeb82bc0 100644
--- a/build.xml
+++ b/build.xml
@@ -764,9 +764,9 @@
<fileset dir="${addon}/YaCy.app"></fileset>
</copy>
<copy file="${addon}/YaCy.app/Contents/Info.plist" tofile="${release_mac}/YaCy.app/Contents/Info.plist" filtering="true" overwrite="true" />
- <move file="${release_main}" tofile="${release_mac}/YaCy.app/Contents/Resources/Java" verbose="false" />
- <chmod file="${release_mac}/YaCy.app/Contents/MacOS/JavaAppLauncher" perm="755"/>
- <chmod file="${release_mac}/YaCy.app/Contents/Resources/Java/startYACY.sh" perm="755"/>
+ <move file="${release_main}" tofile="${release_mac}/YaCy.app/Contents/MacOS" verbose="false" />
+ <!-- startYACY.sh will be the main entry point : we set permissions to make it an executable file -->
+ <chmod file="${release_mac}/YaCy.app/Contents/MacOS/startYACY.sh" perm="755"/>
<exec executable="hdiutil">
<arg line="create -srcfolder ${release_mac}/YaCy.app ${release}/yacy_v${releaseVersion}_${DSTAMP}_${releaseNr}.dmg"/>
</exec>