From d0aff44bf31726bb9316eccd653006a8507d41cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Barroso=20Galindo?= Date: Sat, 17 Dec 2022 02:39:55 +0100 Subject: [PATCH] Not removing previous cheat folder for current platform. --- .github/download_distribution.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/download_distribution.py b/.github/download_distribution.py index ffbfc5279..980e64900 100755 --- a/.github/download_distribution.py +++ b/.github/download_distribution.py @@ -516,9 +516,6 @@ def install_cheats(mapping, target_dir): tmp_zip = f'/tmp/{cheat_key}{cheat_platform}.zip' cheat_folder = f'{target_dir}/Cheats/{cheat_platform}' - if Path(cheat_folder).exists(): - shutil.rmtree(cheat_folder, ignore_errors=True) - print(f'cheat_keys: {cheat_key}, cheat_platform: {cheat_platform}, cheat_zip: {cheat_zip}, cheat_url: {cheat_url}') download_file(cheat_url, tmp_zip)