Skip to content

Commit

Permalink
Fix deployment with enabled encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
julianmi committed Jan 3, 2019
1 parent a5a5f77 commit d4169b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion EffortLog.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ lessThan(QT_VERSION, 5.0) {
TARGET = effort-log
macx:TARGET = EffortLog
TEMPLATE = app
VERSION = 0.9.4
VERSION = 0.9.5
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
QT += core gui widgets

Expand Down
4 changes: 0 additions & 4 deletions tools/mac_osx_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ else
mv "${TRAVIS_BUILD_DIR}"/build/release/EffortLog.dmg "${TRAVIS_BUILD_DIR}"/build/release/EffortLog_"$1"_osx.dmg
otool -L "${TRAVIS_BUILD_DIR}"/build/release/EffortLog.app/Contents/MacOS/EffortLog
elif [ "$2" = "crypt" ]; then
install_name_tool -id @executable_path/../Frameworks/libssl.1.0.0.dylib EffortLog.app/Contents/Frameworks/libssl.1.0.0.dylib
install_name_tool -id @executable_path/../Frameworks/libcrypto.1.0.0.dylib EffortLog.app/Contents/Frameworks/libcrypto.1.0.0.dylib
install_name_tool -change /usr/local/opt/openssl/lib/libssl.1.0.0.dylib @executable_path/../Frameworks/libssl.1.0.0.dylib EffortLog.app/Contents/MacOS/EffortLog
install_name_tool -change /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib @executable_path/../Frameworks/libcrypto.1.0.0.dylib EffortLog.app/Contents/MacOS/EffortLog
/usr/local/opt/qt5/bin/macdeployqt "${TRAVIS_BUILD_DIR}"/build/release/EffortLog.app -always-overwrite -verbose=3 -appstore-compliant -dmg
mv "${TRAVIS_BUILD_DIR}"/build/release/EffortLog.dmg "${TRAVIS_BUILD_DIR}"/build/release/EffortLog_"$1"_osx_encrypted.dmg
otool -L "${TRAVIS_BUILD_DIR}"/build/release/EffortLog.app/Contents/MacOS/EffortLog
Expand Down

0 comments on commit d4169b5

Please sign in to comment.