mirror of
https://github.com/MiSTer-devel/Distribution_MiSTer.git
synced 2026-05-17 03:03:37 +00:00
Not removing previous cheat folder for current platform.
This commit is contained in:
3
.github/download_distribution.py
vendored
3
.github/download_distribution.py
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user