Fix Windows and Mac build scripts

This commit is contained in:
Micah Lee 2021-05-05 20:39:14 -07:00
parent cb1e03db04
commit 3656c3508c
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ def main():
print("○ Create app bundle")
run(["briefcase", "create"], desktop_dir)
app_path = os.path.join(desktop_dir, "macOS", "OnionShare", "OnionShare.app")
app_path = os.path.join(desktop_dir, "macOS", "app", "OnionShare", "OnionShare.app")
print("○ Delete unused Qt5 frameworks from app bundle")
for framework in [
@ -212,7 +212,6 @@ def main():
f"{app_path}/Contents/Resources/app_packages/PySide2/pyside2-lupdate",
f"{app_path}/Contents/Resources/app_packages/PySide2/rcc",
f"{app_path}/Contents/Resources/app_packages/PySide2/uic",
f"{app_path}/Contents/Resources/Support/bin/python3",
app_path,
],
):

View File

@ -196,6 +196,7 @@ def main():
os.path.join(
desktop_dir,
"windows",
"msi",
"OnionShare",
"src",
"app_packages",