Add some exception handling to the symlink creation

This commit is contained in:
Micah Lee 2022-03-31 21:13:42 -07:00
parent fa5d5b7cdd
commit 562d213ec5
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -184,10 +184,13 @@ def cleanup_build():
cwd=f"{app_path}/Contents/Frameworks/{basename}",
)
run(
["ln", "-s", "5", "Current"],
cwd=f"{app_path}/Contents/Frameworks/{basename}/Versions",
)
try:
run(
["ln", "-s", "5", "Current"],
cwd=f"{app_path}/Contents/Frameworks/{basename}/Versions",
)
except:
pass
# Move Qt plugins
os.rename(