1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-30 11:43:36 +02:00

install(win32): continue if a ringtone can't be copied

Errors copying symlinks may occur when the project is cloned using
certain WSL versions.

Change-Id: I92f698d01edd6a94c3dff9bce39441b4df98eec2
This commit is contained in:
Andreas Traczyk 2021-03-24 14:16:07 -04:00
parent 799daf73b0
commit 3befa248a2

View file

@ -176,7 +176,10 @@ def copy_ringtones():
for file in files:
print(bcolors.OKBLUE + "Copying ringtone: " +
file + " -> " + copy_to_path + bcolors.ENDC)
shutil.copy(ringtone_path + os.sep + file, copy_to_path)
try:
shutil.copy(ringtone_path + os.sep + file, copy_to_path)
except:
print(bcolors.FAIL + "Unable to copy file." + bcolors.ENDC)
def compile_and_copy_web_resources():