diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-12-21 10:43:12 -0800 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-12-21 10:43:12 -0800 |
commit | 873316d120e185fcbc59b468961faebf33adf9af (patch) | |
tree | 3ea2c37e1c994637746eef501c1c74bfac889bbc | |
parent | 871f080501b883b64f8d7c38c725cfa006b13981 (diff) |
fixed paths in deploy script
-rwxr-xr-x | deploy-osx.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deploy-osx.sh b/deploy-osx.sh index 5efe08e..98043c0 100755 --- a/deploy-osx.sh +++ b/deploy-osx.sh @@ -1,7 +1,16 @@ # deploy the Mac app bundle. Note the bin/ directory # of Qt should be in your PATH +# copy in libraries and set (most) library paths macdeployqt tikzit.app + +# macdeployqt misses this path for some reason, so fix it +cd tikzit.app/Contents/Frameworks +install_name_tool -id "@executable_path/../Frameworks/libpoppler.83.dylib" libpoppler.83.dylib +install_name_tool -change /usr/local/Cellar/poppler/0.72.0/lib/libpoppler.83.dylib "@executable_path/../Frameworks/libpoppler.83.dylib" libpoppler-qt5.1.dylib +cd ../../.. + +# create DMG hdiutil create -volname TikZiT -srcfolder tikzit.app -ov -format UDZO tikzit.dmg |