Skip to content

Commit bf9c207

Browse files
committed
COD MW2: update launcher download stages
1 parent 005ce25 commit bf9c207

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

call-of-dutymw2updates.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,23 @@
2222
"SkipOnFailure": false
2323
},
2424
{
25-
"UpdateStageName": "AlterWare Launcher Download",
25+
"UpdateStageName": "IW4x Launcher Download",
2626
"UpdateSourcePlatform": "Windows",
27-
"UpdateSource": "GithubRelease",
28-
"UpdateSourceArgs": "iw4x/launcher",
29-
"UpdateSourceData": "iw4x-launcher.exe",
27+
"UpdateSource": "FetchURLFromJQ",
28+
"UpdateSourceData": "https://api.github.com/repos/iw4x/launcher/releases/latest",
29+
"UpdateSourceArgs": "$.assets[1].browser_download_url",
3030
"UpdateSourceTarget": "{{$FullBaseDir}}",
31+
"UnzipUpdateSource": true,
3132
"OverwriteExistingFiles": true,
33+
"DeleteAfterExtract": true,
3234
"SkipOnFailure": false
3335
},
3436
{
35-
"UpdateStageName": "AlterWare Launcher Download",
37+
"UpdateStageName": "IW4x Launcher Download",
3638
"UpdateSourcePlatform": "Linux",
37-
"UpdateSource": "GithubRelease",
38-
"UpdateSourceArgs": "iw4x/launcher",
39-
"UpdateSourceData": "iw4x-launcher-x86_64-unknown-linux-gnu.tar.gz",
39+
"UpdateSource": "FetchURLFromJQ",
40+
"UpdateSourceData": "https://api.github.com/repos/iw4x/launcher/releases/latest",
41+
"UpdateSourceArgs": "$.assets[0].browser_download_url",
4042
"UpdateSourceTarget": "{{$FullBaseDir}}",
4143
"UnzipUpdateSource": true,
4244
"OverwriteExistingFiles": true,

0 commit comments

Comments
 (0)