Release 1.4.0: macOS CLI builds and multi-platform update channel.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+12
-6
@@ -2,17 +2,23 @@
|
||||
|
||||
Обновления отдаются из git-репозитория:
|
||||
|
||||
- `https://git.evilfox.cc/test2/navi/raw/branch/main/dist/update.json`
|
||||
- `https://git.evilfox.cc/test2/navi/raw/branch/main/dist/navis-release/Navis.exe`
|
||||
- Manifest: `https://git.evilfox.cc/test2/navi/raw/branch/main/dist/update.json`
|
||||
- Windows: `…/dist/navis-release/Navis.exe`
|
||||
- macOS arm64: `…/dist/navis-release/darwin-arm64/Navis`
|
||||
- macOS amd64: `…/dist/navis-release/darwin-amd64/Navis`
|
||||
|
||||
Пример `dist/update.json`:
|
||||
Пример `dist/update.json` (multi-platform + legacy url для старых клиентов):
|
||||
|
||||
```json
|
||||
{
|
||||
"version": "1.1.2",
|
||||
"version": "1.4.0",
|
||||
"notes": "Что нового",
|
||||
"url": "https://git.evilfox.cc/test2/navi/raw/branch/main/dist/navis-release/Navis.exe",
|
||||
"sha256": "hex",
|
||||
"mandatory": false
|
||||
"sha256": "hex-windows",
|
||||
"platforms": {
|
||||
"windows-amd64": { "url": "…/Navis.exe", "sha256": "…" },
|
||||
"darwin-arm64": { "url": "…/darwin-arm64/Navis", "sha256": "…" },
|
||||
"darwin-amd64": { "url": "…/darwin-amd64/Navis", "sha256": "…" }
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user