mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-29 01:18:51 -04:00
Add some exception handling to the symlink creation
This commit is contained in:
parent
8a9871b945
commit
36671fa89f
1 changed files with 7 additions and 4 deletions
|
@ -184,10 +184,13 @@ def cleanup_build():
|
||||||
cwd=f"{app_path}/Contents/Frameworks/{basename}",
|
cwd=f"{app_path}/Contents/Frameworks/{basename}",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
try:
|
||||||
run(
|
run(
|
||||||
["ln", "-s", "5", "Current"],
|
["ln", "-s", "5", "Current"],
|
||||||
cwd=f"{app_path}/Contents/Frameworks/{basename}/Versions",
|
cwd=f"{app_path}/Contents/Frameworks/{basename}/Versions",
|
||||||
)
|
)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
# Move Qt plugins
|
# Move Qt plugins
|
||||||
os.rename(
|
os.rename(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue