Merge branch 'master' into Develop

This commit is contained in:
Ozzie Isaacs
2021-06-06 12:18:04 +02:00
5 changed files with 26 additions and 13 deletions

View File

@ -210,7 +210,7 @@ class Updater(threading.Thread):
def moveallfiles(cls, root_src_dir, root_dst_dir):
new_permissions = os.stat(root_dst_dir)
log.debug('Performing Update on OS-System: %s', sys.platform)
change_permissions = (sys.platform == "win32" or sys.platform == "darwin")
change_permissions = not (sys.platform == "win32" or sys.platform == "darwin")
for src_dir, __, files in os.walk(root_src_dir):
dst_dir = src_dir.replace(root_src_dir, root_dst_dir, 1)
if not os.path.exists(dst_dir):