mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-24 23:09:42 -05:00
Updates cleanup script and release documentation for apple silicon
This commit is contained in:
parent
d6d8298bef
commit
2d22910c99
@ -238,8 +238,6 @@ Make the Apple Silicon app bundle:
|
||||
|
||||
```sh
|
||||
/Library/Frameworks/Python.framework/Versions/3.11/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.11/lib build/OnionShare.app/Contents/Resources/
|
||||
/Library/Frameworks/Python.framework/Versions/3.11/bin/poetry run python ./scripts/build-macos.py cleanup-build
|
||||
```
|
||||
|
||||
|
@ -167,12 +167,15 @@ def cleanup_build():
|
||||
"QtWebEngineQuick",
|
||||
"QtWebEngineQuickDelegatesQml",
|
||||
]:
|
||||
shutil.rmtree(
|
||||
f"{app_path}/Contents/MacOS/lib/PySide6/Qt/lib/{framework}.framework"
|
||||
)
|
||||
print(
|
||||
f"Deleted: {app_path}/Contents/MacOS/lib/PySide6/Qt/lib/{framework}.framework"
|
||||
)
|
||||
try:
|
||||
shutil.rmtree(
|
||||
f"{app_path}/Contents/MacOS/lib/PySide6/Qt/lib/{framework}.framework"
|
||||
)
|
||||
print(
|
||||
f"Deleted: {app_path}/Contents/MacOS/lib/PySide6/Qt/lib/{framework}.framework"
|
||||
)
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
try:
|
||||
os.remove(f"{app_path}/Contents/MacOS/lib/PySide6/{framework}.abi3.so")
|
||||
print(f"Deleted: {app_path}/Contents/MacOS/lib/PySide6/{framework}.abi3.so")
|
||||
|
Loading…
Reference in New Issue
Block a user