|
22 | 22 | "SkipOnFailure": false |
23 | 23 | }, |
24 | 24 | { |
25 | | - "UpdateStageName": "AlterWare Launcher Download", |
| 25 | + "UpdateStageName": "IW4x Launcher Download", |
26 | 26 | "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", |
30 | 30 | "UpdateSourceTarget": "{{$FullBaseDir}}", |
| 31 | + "UnzipUpdateSource": true, |
31 | 32 | "OverwriteExistingFiles": true, |
| 33 | + "DeleteAfterExtract": true, |
32 | 34 | "SkipOnFailure": false |
33 | 35 | }, |
34 | 36 | { |
35 | | - "UpdateStageName": "AlterWare Launcher Download", |
| 37 | + "UpdateStageName": "IW4x Launcher Download", |
36 | 38 | "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", |
40 | 42 | "UpdateSourceTarget": "{{$FullBaseDir}}", |
41 | 43 | "UnzipUpdateSource": true, |
42 | 44 | "OverwriteExistingFiles": true, |
|
0 commit comments