When making macOS app bundle, make symlink with relative path instead of absolute

This commit is contained in:
Micah Lee 2020-03-16 17:26:18 -07:00
parent 4eba0087e7
commit b46ad704e4
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -44,8 +44,7 @@ def main():
shutil.rmtree(os.path.join(dist_path, "dangerzone"))
os.symlink(
os.path.join(app_path, "Contents/MacOS/dangerzone"),
os.path.join(app_path, "Contents/MacOS/dangerzone-container"),
"dangerzone", os.path.join(app_path, "Contents/MacOS/dangerzone-container"),
)
print(f"○ Finished build app: {app_path}")