def InstallUpdate(self) -> bool:
    print('Installing new version')
    for file in os.listdir(config.CONFIGURATION['Launch']['ProjectRoot']):
        if os.path.isdir(f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}"):
            if (file in self.DeleteFolders):
                shutil.rmtree(f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}")
        else:
            os.remove(f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}")
    for file in os.listdir(f'{config.PATH_ROOT}{os.sep}{self.UpdateFolder}'):
        os.rename(f'{config.PATH_ROOT}{os.sep}{self.UpdateFolder}{os.sep}{file}', f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}")
    shutil.rmtree(f'{config.PATH_ROOT}{os.sep}{self.UpdateFolder}')
    return True
def InstallUpdate(self) -> bool:
    print('Installing new version')
    for file in os.listdir(config.CONFIGURATION['Launch']['ProjectRoot']):
        if os.path.isdir(f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}"):
            if (file in self.DeleteFolders):
                shutil.rmtree(f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}")
        else:
            os.remove(f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}")
    for file in os.listdir(f'{config.PATH_ROOT}{os.sep}{self.UpdateFolder}'):
        os.rename(f'{config.PATH_ROOT}{os.sep}{self.UpdateFolder}{os.sep}{file}', f"{config.CONFIGURATION['Launch']['ProjectRoot']}{os.sep}{file}")
    shutil.rmtree(f'{config.PATH_ROOT}{os.sep}{self.UpdateFolder}')
    return True