mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-11 15:29:38 -05:00
Add some exception handling to the symlink creation
This commit is contained in:
parent
fa5d5b7cdd
commit
562d213ec5
@ -184,10 +184,13 @@ def cleanup_build():
|
|||||||
cwd=f"{app_path}/Contents/Frameworks/{basename}",
|
cwd=f"{app_path}/Contents/Frameworks/{basename}",
|
||||||
)
|
)
|
||||||
|
|
||||||
run(
|
try:
|
||||||
["ln", "-s", "5", "Current"],
|
run(
|
||||||
cwd=f"{app_path}/Contents/Frameworks/{basename}/Versions",
|
["ln", "-s", "5", "Current"],
|
||||||
)
|
cwd=f"{app_path}/Contents/Frameworks/{basename}/Versions",
|
||||||
|
)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
# Move Qt plugins
|
# Move Qt plugins
|
||||||
os.rename(
|
os.rename(
|
||||||
|
Loading…
Reference in New Issue
Block a user