diff --git a/offsets/update_offsets.py b/offsets/update_offsets.py index 3338983..e31722f 100644 --- a/offsets/update_offsets.py +++ b/offsets/update_offsets.py @@ -5,7 +5,7 @@ import re source_url = "https://github.com/a2x/cs2-dumper/raw/main/generated/offsets.json" commits_url = "https://api.github.com/repos/a2x/cs2-dumper/commits" -dest_path = "./offsets.json" +dest_path = "./offsets/offsets.json" # Fetch the source JSON source_response = requests.get(source_url) @@ -41,4 +41,4 @@ dest_data["dwViewMatrix"] = source_data["client_dll"]["data"]["dwViewMatrix"]["v with open(dest_path, 'w') as dest_file: json.dump(dest_data, dest_file, indent=4) -print("Offsets updated in the local file.") # We dont exit so we know that the game has been updated and that we have to commit the new offsets \ No newline at end of file +print("Offsets updated in the local file.") # We dont exit so we know that the game has been updated and that we have to commit the new offsets