Skip to content

Commit

Permalink
Merge pull request #34 from wenbingzhang/pre-release
Browse files Browse the repository at this point in the history
fix(osx): Integrating python
  • Loading branch information
FuckDoctors authored May 10, 2023
2 parents ba95e3b + 79668c1 commit a2541b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,11 @@ jobs:
cd rdm/bin/osx/release
zip -q -r release.zip .
cp -Rf py ./RESP.app/Contents/Resources/
python_version=$(python3 -c "import sys; print('.'.join(map(str, sys.version_info[:2])))")
echo ${python_version}
brew install python@${python_version}
cp -Rf /usr/local/Cellar/python@${python_version}/*/Frameworks/ ./RESP.app/Contents/Frameworks/
install_name_tool -change /Library/Frameworks/Python.framework/Versions/${python_version}/Python @rpath/Python.framework/Versions/${python_version}/Python ./RESP.app/Contents/MacOS/RESP
otool -L ./RESP.app/Contents/MacOS/RESP
macdeployqt ./RESP.app -qmldir=../../../src/qml -always-overwrite -dmg
Expand Down

0 comments on commit a2541b4

Please sign in to comment.