mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
MAC Build: fixed problem when you cannot open Cutter on MacOS due to missing Frameworks (#957)
This commit is contained in:
parent
58fcd70fd2
commit
379567e80c
@ -72,9 +72,7 @@ script:
|
||||
after_success:
|
||||
- export CUTTER_VERSION=$(python ../scripts/get_version.py)
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
mv Cutter.app/Contents/MacOS/Cutter Cutter.app/Contents/MacOS/Cutter.bin &&
|
||||
cp ../src/macos/Cutter Cutter.app/Contents/MacOS/Cutter && chmod +x Cutter.app/Contents/MacOS/Cutter &&
|
||||
macdeployqt Cutter.app -executable=Cutter.app/Contents/MacOS/Cutter &&
|
||||
macdeployqt Cutter.app -executable=Cutter.app/Contents/MacOS/Cutter -libpath="../Frameworks" &&
|
||||
"$TRAVIS_BUILD_DIR/scripts/appbundle_embed_python.sh" "$PYTHON_FRAMEWORK_DIR/Python.framework" Cutter.app Cutter.app/Contents/MacOS/Cutter &&
|
||||
mkdir -p Cutter.app/Contents/Resources/r2/share &&
|
||||
cp -a /usr/local/share/radare2 Cutter.app/Contents/Resources/r2/share/ &&
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Cutter Launch Script for macOS"
|
||||
|
||||
EXECDIR=$(dirname "$0")
|
||||
export DYLD_LIBRARY_PATH="$EXECDIR/../Frameworks"
|
||||
export DYLD_FRAMEWORK_PATH="$EXECDIR/../Frameworks"
|
||||
"$EXECDIR/Cutter.bin" "$@"
|
Loading…
Reference in New Issue
Block a user