From 1f7f29a45605605e89ac6c252f300bd2d2a75928 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 16 Mar 2020 15:11:26 -0700 Subject: [PATCH] Create dangerzone-container symlink when building the Mac app bundle --- install/macos/build_app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install/macos/build_app.py b/install/macos/build_app.py index b0e7bbb..6922f57 100755 --- a/install/macos/build_app.py +++ b/install/macos/build_app.py @@ -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: