Create dangerzone-container symlink when building the Mac app bundle

This commit is contained in:
Micah Lee 2020-03-16 15:11:26 -07:00
parent 3a1b6d457f
commit 1f7f29a456
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -43,6 +43,11 @@ def main():
run(["pyinstaller", "install/pyinstaller/pyinstaller.spec", "--clean"])
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"),
)
print(f"○ Finished build app: {app_path}")
if args.with_codesign: