Skip to content

Commit

Permalink
rg_tool: Reverted relative path usage, it seems to break sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
ducalex committed Feb 2, 2022
1 parent 17f290c commit fdfa2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rg_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def build_app(target, build_type=None, with_netplay=False, build_target=None):

try:
print("\nPatching esp_image_header_t to skip sha256 on boot... ", end="")
with open(os.path.join(target, "build", target + ".bin", "r+b")) as fp:
with open(os.path.join(target, "build", target + ".bin"), "r+b") as fp:
fp.seek(23)
fp.write(b"\0")
print("done!\n")
Expand Down

0 comments on commit fdfa2b0

Please sign in to comment.