factorio: fix update.py for new demo format

This commit is contained in:
Luke Granger-Brown 2025-01-02 22:55:42 +00:00
parent edf34acfb2
commit fe4ea827b7
2 changed files with 7 additions and 1 deletions

View file

@ -68,7 +68,10 @@ RELEASE_TYPES = [
needs_auth=True,
hash_filename_format=["factorio_linux_{version}.tar.xz"],
),
ReleaseType("demo", hash_filename_format=["factorio_demo_x64_{version}.tar.xz"]),
ReleaseType("demo", hash_filename_format=[
"factorio-demo_linux_{version}.tar.xz",
"factorio_demo_x64_{version}.tar.xz",
]),
ReleaseType(
"headless",
hash_filename_format=[

View file

@ -27,16 +27,19 @@
"demo": {
"experimental": {
"candidateHashFilenames": [
"factorio-demo_linux_2.0.27.tar.xz",
"factorio_demo_x64_2.0.27.tar.xz"
],
"name": "factorio_demo_x64-2.0.27.tar.xz",
"needsAuth": false,
"sha256": "75938e76d0e730273616e2441ae3c3bc238bb3cfa38d34a43e5fb25a3d1f2323",
"tarDirectory": "x64",
"url": "https://factorio.com/get-download/2.0.27/demo/linux64",
"version": "2.0.27"
},
"stable": {
"candidateHashFilenames": [
"factorio-demo_linux_1.1.110.tar.xz",
"factorio_demo_x64_1.1.110.tar.xz"
],
"name": "factorio_demo_x64-1.1.110.tar.xz",