Skip to content

Commit

Permalink
Add digiroms.txt to do-not-overwrite list (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmcomm authored Oct 1, 2024
1 parent 808e32e commit 81b3801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def copy_files_to_destination(destination_folder, extract_path):
src_item = os.path.join(extract_path, item)
dst_item = os.path.join(destination_folder, item)
if os.path.isfile(src_item):
if item in ('config.py', 'board_config.py'):
if item in ('config.py', 'board_config.py', 'digiroms.txt'):
if not os.path.exists(dst_item):
shutil.copy2(src_item, dst_item)
else:
Expand Down

0 comments on commit 81b3801

Please sign in to comment.