Replace broken lib folder with working lib folder in Mac build

This commit is contained in:
Micah Lee 2023-10-10 15:22:42 -07:00
parent 18a6607bf3
commit 0c269b34ac
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -210,8 +210,9 @@ jobs:
- name: Build OnionShare - name: Build OnionShare
run: | run: |
cd desktop cd desktop
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py build
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py bdist_mac /Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./setup-freeze.py bdist_mac
rm -rf build/OnionShare.app/Contents/Resources/lib
mv build/exe.macosx-10.9-universal2-3.10/lib build/OnionShare.app/Contents/Resources/
/Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/build-macos.py cleanup-build /Library/Frameworks/Python.framework/Versions/3.10/bin/poetry run python ./scripts/build-macos.py cleanup-build
- name: Compress - name: Compress