Work on macOS scripts.

master
DominikDeak 4 years ago
parent e15ba2219d
commit 757acddc1b
No known key found for this signature in database
GPG Key ID: 85514EC0CCE7007C
  1. 7
      buildMacOS.sh

@ -68,7 +68,8 @@ buildApp() {
make install/strip || exit 1
macdeployqt "${buildPath}/bundle/Synergy.app"
ln -s /Applications "${buildPath}/bundle/Applications"
cp -R "${buildPath}/bundle/Synergy.app" "${binariesPath}"
popd
@ -76,9 +77,9 @@ buildApp() {
buildDMG() {
mv "${buildPath}/bundle/Synergy.app" "${buildPath}/bundle/Synergy-test.app"
ln -s /Applications "${buildPath}/bundle/Applications"
hdiutil create -volname "Synergy ${synergyVersion}" -srcfolder "${buildPath}/bundle" -ov -format UDZO "${binariesPath}/${synergyReleaseName}.dmg" || exit 1
hdiutil create -volname "Synergy ${synergyVersion}" -srcfolder "${buildPath}/bundle" -ov -format UDBZ "${binariesPath}/${synergyReleaseName}.dmg" || exit 1
}

Loading…
Cancel
Save