mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-29 15:55:04 +00:00
Bring back Launch Script for macOS (#1438)
This commit is contained in:
parent
cdca7bdc3f
commit
1cb5c1a8a9
@ -136,6 +136,9 @@ after_success:
|
||||
macdeployqt Cutter.app -executable=Cutter.app/Contents/MacOS/Cutter -libpath="../Frameworks" &&
|
||||
cp -a "$QTDIR/lib/QtDBus.framework" "$QTDIR/lib/QtPrintSupport.framework" Cutter.app/Contents/Frameworks &&
|
||||
"$TRAVIS_BUILD_DIR/scripts/appbundle_embed_python.sh" "$CUTTER_DEPS_PYTHON_FRAMEWORK_DIR/Python.framework" Cutter.app Cutter.app/Contents/MacOS/Cutter &&
|
||||
mv Cutter.app/Contents/MacOS/Cutter Cutter.app/Contents/MacOS/Cutter.bin &&
|
||||
cp ../src/macos/Cutter.sh Cutter.app/Contents/MacOS/Cutter &&
|
||||
chmod +x 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/ &&
|
||||
mkdir image && cp -a Cutter.app image/ &&
|
||||
|
8
src/macos/Cutter.sh
Executable file
8
src/macos/Cutter.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/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