multimc-dev: Add autoupdate (#109)
parent
5cb955a649
commit
1365e07787
|
@ -1,9 +1,10 @@
|
|||
{
|
||||
"version": "nightly",
|
||||
"version": "1438",
|
||||
"description": "Launcher for Minecraft that allows for multiple, cleanly separated instances of Minecraft.",
|
||||
"homepage": "https://multimc.org/",
|
||||
"license": "Apache-2.0",
|
||||
"url": "https://files.multimc.org/downloads/mmc-develop-win32.zip",
|
||||
"url": "https://teamcity.multimc.org/app/rest/builds/number:1438/artifacts/content/package.tar.gz?guest=1",
|
||||
"hash": "c1d96ffec4f2ea0c10357dd9fd69d0a99a64a2d202b80fca541f097d0dbf4b5d",
|
||||
"extract_dir": "MultiMC",
|
||||
"pre_install": [
|
||||
"if (-not (Test-Path \"$dir\\accounts.json\")) { New-Item \"$dir\\accounts.json\" -ItemType File | Out-Null }",
|
||||
|
@ -28,5 +29,12 @@
|
|||
"accounts.json",
|
||||
"multimc.cfg",
|
||||
"notifications.json"
|
||||
]
|
||||
],
|
||||
"checkver": {
|
||||
"url": "https://teamcity.multimc.org/app/rest/buildTypes/MultiMC_Launcher_Windows_Build/builds/status:success/number?guest=1",
|
||||
"regex": "(.+)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"url": "https://teamcity.multimc.org/app/rest/builds/number:$version/artifacts/content/package.tar.gz?guest=1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue