Revert "web: Rename game.zip to game.data."

This reverts commit f39d53cbac.
This commit is contained in:
Tom Rothamel
2024-08-24 21:19:25 -04:00
parent 4133172fab
commit 4242ff838e
+1 -3
View File
@@ -186,7 +186,7 @@ init python:
if not os.path.exists(rules_path):
open(rules_path, 'w').write(
"# RenPyWeb progressive download rules - first match applies\n"
+ "# '+' = progressive download, '-' = keep in game.data (default)\n"
+ "# '+' = progressive download, '-' = keep in game.zip (default)\n"
+ "# See https://www.renpy.org/doc/html/build.html#classifying-and-ignoring-files for matching\n"
+ "#\n"
+ "# +/- type path\n"
@@ -430,8 +430,6 @@ init python:
reporter.info(_("Preparing progressive download"))
files_filter.finalize()
os.rename(os.path.join(destination, "game.zip"), os.path.join(destination, "game.data"))
# Copy the files from WEB_PATH to destination.
for fn in os.listdir(WEB_PATH):
if fn in { "game.zip", "hash.txt", "index.html", "web-icon.png" }: