wesnoth: fixed autoupdate and checkver

master
beyondmeat 2022-03-01 16:18:46 -07:00 committed by Hugo Locurcio
parent 6d9fe0977c
commit 77ac672141
1 changed files with 6 additions and 7 deletions

View File

@ -1,10 +1,10 @@
{ {
"homepage": "https://www.wesnoth.org/", "homepage": "https://www.wesnoth.org/",
"description": "Turn-based singleplayer and multiplayer strategy game with a high fantasy theme", "description": "Turn-based singleplayer and multiplayer strategy game with a high fantasy theme",
"version": "1.14.17", "version": "1.16.2",
"license": "GPL-2.0-or-later", "license": "GPL-2.0-or-later",
"url": "https://downloads.sourceforge.net/project/wesnoth/wesnoth-1.14/wesnoth-1.14.17/wesnoth-1.14.17-win32.exe#/dl.7z", "url": "https://sourceforge.net/projects/wesnoth/files/wesnoth-1.16/wesnoth-1.16.2/wesnoth-1.16.2-win64.exe/download#/dl.7z",
"hash": "6886359657503cb55e3f8e5c03fe559faa5f02a93a825852b4ff6ad081f1989f", "hash": "c890bb91fbf38c26881ad1f2f5ceb3d9cb5b5565da8ccb43fac2bd407ce167b3",
"shortcuts": [ "shortcuts": [
[ [
"wesnoth.exe", "wesnoth.exe",
@ -12,13 +12,12 @@
] ]
], ],
"checkver": { "checkver": {
"url": "https://wiki.wesnoth.org/Download", "github": "https://github.com/wesnoth/wesnoth"
"regex": "wesnoth-([\\d.]+)-win32.exe"
}, },
"autoupdate": { "autoupdate": {
"url": "https://downloads.sourceforge.net/project/wesnoth/wesnoth-$majorVersion.$minorVersion/wesnoth-$version/wesnoth-$version-win32.exe#/dl.7z", "url": "https://sourceforge.net/projects/wesnoth/files/wesnoth-$majorVersion.$minorVersion/wesnoth-$version/wesnoth-$version-win64.exe/download#/dl.7z",
"hash": { "hash": {
"url": "https://files.wesnoth.org/releases/wesnoth-$version-win32.exe.sha256" "url": "https://files.wesnoth.org/releases/wesnoth-$version-win64.exe.sha256"
} }
} }
} }