Skip to content

Commit dcc157c

Browse files
committed
silicon: Fix checkver
1 parent e65a529 commit dcc157c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

bucket/silicon.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
}
1111
},
1212
"bin": "silicon.exe",
13-
"checkver": "github",
13+
"checkver": {
14+
"github": "https://api.github.com/repos/Aloxaf/silicon/releases",
15+
"jsonpath": "$[?(@.prerelease == false)].assets[?(@.name =~ /windows/i)].browser_download_url",
16+
"regex": "download/v([\\d.]+)/"
17+
},
1418
"autoupdate": {
1519
"url": "https://github.com/Aloxaf/silicon/releases/download/v$version/silicon-v$version-x86_64-pc-windows-msvc.tar.gz"
1620
}

0 commit comments

Comments
 (0)