diff --git a/worldbuild-packager.py b/worldbuild-packager.py index 845b8cc..8fb42a1 100755 --- a/worldbuild-packager.py +++ b/worldbuild-packager.py @@ -147,7 +147,7 @@ def update_index(output, name, name_major): sha = get_sha1(output + "/" + name_major + "/" + name + ".zip") if sha != None: - index["z:" + name] = sha + index["z:" + name + ".zip"] = sha write_index(output + "/" + name_major + "/.dirindex", index) @@ -160,7 +160,7 @@ def update_index(output, name, name_major): sha = get_sha1(output + "/" + name_major + "/.dirindex") if sha != None: - main_index["z:" + name] = sha + main_index["d:" + name_major] = sha write_index(output + "/.dirindex", main_index)