factorio: fix update.py for new demo format
This commit is contained in:
parent
edf34acfb2
commit
fe4ea827b7
2 changed files with 7 additions and 1 deletions
|
@ -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=[
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue