Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove existing code.bin in folder #516

Merged
merged 1 commit into from
Jan 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove existing code.bin in folder
ThanatosGit committed Jan 25, 2025
commit 304df29867402d1cf7c7a3f34d5705dd2cb14e24
3 changes: 3 additions & 0 deletions src/open_samus_returns_rando/samus_returns_patcher.py
Original file line number Diff line number Diff line change
@@ -70,6 +70,9 @@ def cleanup_old_patcher(output_path: Path) -> None:
out_code = output_path.joinpath("code.bps")
out_code.unlink(missing_ok=True)

out_code = output_path.joinpath("code.bin")
out_code.unlink(missing_ok=True)

out_exheader = output_path.joinpath("exheader.bin")
out_exheader.unlink(missing_ok=True)