Release 1.4.1: add macOS DMG and Navis.app.zip to release artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Navis
2026-07-28 08:09:21 +03:00
co-authored by Cursor
parent 4c2d6b8be7
commit a1e9019dcd
18 changed files with 542 additions and 54 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func Fetch(ctx context.Context, rawURL string) ([]Item, error) {
if err != nil {
return nil, err
}
req.Header.Set("User-Agent", "Navis/1.4.0")
req.Header.Set("User-Agent", "Navis/1.4.1")
client := &http.Client{Timeout: 45 * time.Second}
resp, err := client.Do(req)
if err != nil {
+9 -5
View File
@@ -17,17 +17,21 @@ import (
)
// CurrentVersion is the shipped client version.
const CurrentVersion = "1.4.0"
const CurrentVersion = "1.4.1"
// DefaultManifestURL is the update feed (hosted in the project git repo).
const DefaultManifestURL = "https://git.evilfox.cc/test2/navi/raw/branch/main/dist/update.json"
// PlatformAsset is one OS/arch binary in the feed.
type PlatformAsset struct {
URL string `json:"url"`
SHA256 string `json:"sha256,omitempty"`
OS string `json:"os,omitempty"`
Arch string `json:"arch,omitempty"`
URL string `json:"url"`
SHA256 string `json:"sha256,omitempty"`
OS string `json:"os,omitempty"`
Arch string `json:"arch,omitempty"`
DmgURL string `json:"dmg_url,omitempty"`
DmgSHA256 string `json:"dmg_sha256,omitempty"`
ZipURL string `json:"zip_url,omitempty"`
ZipSHA256 string `json:"zip_sha256,omitempty"`
}
// Manifest describes a remote release (multi-platform + legacy single URL).