Files
supersonic/scripts/copy_python_dep_osx.sh
T
2025-11-14 15:13:50 -08:00

6 lines
342 B
Bash
Executable File

#!/bin/sh
PYTHON_PATH=$(otool -L ./Supersonic.app/Contents/Frameworks/libvapoursynth-script.0.dylib | grep 'Python' | awk '{print $1}')
install_name_tool -change "$PYTHON_PATH" "@executable_path/../Frameworks/Python" "./Supersonic.app/Contents/Frameworks/libvapoursynth-script.0.dylib"
cp "$PYTHON_PATH" ./Supersonic.app/Contents/Frameworks