forked from chawyehsu/dorado
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhmcl.json
44 lines (44 loc) · 1.39 KB
/
hmcl.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"homepage": "https://github.com/huanghongxun/HMCL",
"description": "A powered Minecraft launcher that supports a lot of features.",
"license": "GPL-3.0-only",
"version": "3.5.5",
"url": "http://ci.huangyuhui.net/job/HMCL-stable/5/artifact/HMCL/build/libs/HMCL-3.5.5.exe#/hmcl.exe",
"hash": "sha1:b416350bd1f6d23e69b7b7ef7a4b69b7110d79bd",
"bin": "hmcl.exe",
"shortcuts": [
[
"hmcl.exe",
"HMCL"
]
],
"suggest": {
"JDK": [
"java/oraclejdk",
"java/openjdk"
]
},
"pre_install": [
"function ensureFile([String] $name) {",
" if (!(Test-Path \"$persist_dir\\$name\") -and !(Test-Path \"$dir\\$name\")) {",
" Add-Content -Path \"$dir\\$name\" -Value $null",
" }",
"}",
"ensureFile 'hmcl.json'"
],
"persist": [
"hmcl.json",
".minecraft"
],
"checkver": {
"url": "https://hmcl.huangyuhui.net/api/update_link?channel=stable&download_link=true",
"jsonpath": "$.version"
},
"autoupdate": {
"url": "http://ci.huangyuhui.net/job/HMCL-stable/$patchVersion/artifact/HMCL/build/libs/HMCL-$version.exe#/hmcl.exe",
"hash": {
"url": "https://hmcl.huangyuhui.net/api/update_link?channel=stable&download_link=true",
"jsonpath": "$.exesha1"
}
}
}