mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 15:20:56 +00:00
lib/upgrade: Include browser_download_url field
This commit is contained in:
parent
0832285d79
commit
5851aabe02
@ -26,6 +26,10 @@ type Release struct {
|
|||||||
type Asset struct {
|
type Asset struct {
|
||||||
URL string `json:"url"`
|
URL string `json:"url"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
|
|
||||||
|
// The browser URL is needed for human readable links in the output created
|
||||||
|
// by cmd/stupgrades.
|
||||||
|
BrowserURL string `json:"browser_download_url"`
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user