mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 15:05:11 -04:00
Merge pull request #1880 from onionshare/fix-macos-silicon-build
Adds packages in zip_include_packages as well
This commit is contained in:
commit
3438f505e9
3 changed files with 90 additions and 69 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue