mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 18:22:37 +02:00
When making macOS app bundle, make symlink with relative path instead of absolute
This commit is contained in:
parent
4eba0087e7
commit
b46ad704e4
1 changed files with 1 additions and 2 deletions
|
@ -44,8 +44,7 @@ def main():
|
||||||
shutil.rmtree(os.path.join(dist_path, "dangerzone"))
|
shutil.rmtree(os.path.join(dist_path, "dangerzone"))
|
||||||
|
|
||||||
os.symlink(
|
os.symlink(
|
||||||
os.path.join(app_path, "Contents/MacOS/dangerzone"),
|
"dangerzone", os.path.join(app_path, "Contents/MacOS/dangerzone-container"),
|
||||||
os.path.join(app_path, "Contents/MacOS/dangerzone-container"),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
print(f"○ Finished build app: {app_path}")
|
print(f"○ Finished build app: {app_path}")
|
||||||
|
|
Loading…
Reference in a new issue