mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Create dangerzone-container symlink when building the Mac app bundle
This commit is contained in:
parent
3a1b6d457f
commit
1f7f29a456
1 changed files with 5 additions and 0 deletions
|
@ -43,6 +43,11 @@ def main():
|
||||||
run(["pyinstaller", "install/pyinstaller/pyinstaller.spec", "--clean"])
|
run(["pyinstaller", "install/pyinstaller/pyinstaller.spec", "--clean"])
|
||||||
shutil.rmtree(os.path.join(dist_path, "dangerzone"))
|
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}")
|
print(f"○ Finished build app: {app_path}")
|
||||||
|
|
||||||
if args.with_codesign:
|
if args.with_codesign:
|
||||||
|
|
Loading…
Reference in a new issue