- ModelSourceClient: 自托管 Gitea 源(git.xhmcl.com)ArchiveCandidates 之前 直接 yield break,只能靠系统 git clone。没装 git 的机器「检测模型/下载/ 自动更新」全部失效。补上 archive/<branch>.zip 归档地址(已实测可用), 下载经 ResumableDownloader 完成,无需系统 git。fake-git 实测 5/5 模型可检测。 - LauncherUpdater.HashZipPayloadAsync: 只找 GC.dll/GC/GC*.dll,但产物自 1.0.10 起是 GCL-<版本>-<平台> 单文件,找不到主程序 -> sha256 无法比对 -> 不提示更新。 改为优先匹配 GCL- 主程序(排除 GC-UI/GC-SAVEDOG/.GC),兼容旧 GC 命名。 实测已从「无法比对 sha256」变为能算出远端包 sha256。 - version.json / model/version.json: 5 个模型的 manifestSha256 与仓库实际模型 json 不符(发布时 updatedAt 漂移导致),使模型自动更新每次因校验失败被丢弃 (「没有自动下载」)。按当前模型 json 实际 sha256 修正并重新签名(gc-2026-12), 两份清单保持一致;launcher 包 sha256/size 与版本号不动。
102 lines
3.7 KiB
JSON
102 lines
3.7 KiB
JSON
{
|
|
"schema": 1,
|
|
"generated": "2026-11-18T13:05:57Z",
|
|
"repository": "https://git.xhmcl.com/Morris/GC",
|
|
"branch": "main",
|
|
"modelDir": "model",
|
|
"launcher": {
|
|
"version": "1.1.0",
|
|
"revision": "",
|
|
"packages": {
|
|
"win-x64": {
|
|
"path": "dist/win-amd64/GCL-1.1.0-win-amd64.zip",
|
|
"dir": "dist/win-amd64",
|
|
"name": "GCL-1.1.0-win-amd64.zip",
|
|
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.1.0/GCL-1.1.0-win-amd64.zip",
|
|
"sha256": "adfdca03bd84ad1a831da4925795dd4ee5b9f79f654a7a8208abcb6f3dbc4f3b",
|
|
"size": 74984771
|
|
},
|
|
"win-arm64": {
|
|
"path": "dist/win-arm64/GCL-1.1.0-win-arm64.zip",
|
|
"dir": "dist/win-arm64",
|
|
"name": "GCL-1.1.0-win-arm64.zip",
|
|
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.1.0/GCL-1.1.0-win-arm64.zip",
|
|
"sha256": "2ef3f657a4ff61d9cc62100daed8d399ad0635f120c5f38589a4efd3a8e76d9a",
|
|
"size": 72527477
|
|
},
|
|
"osx-arm64": {
|
|
"path": "dist/mac-arm64/GCL-1.1.0-mac-arm64.zip",
|
|
"dir": "dist/mac-arm64",
|
|
"name": "GCL-1.1.0-mac-arm64.zip",
|
|
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.1.0/GCL-1.1.0-mac-arm64.zip"
|
|
},
|
|
"osx-x64": {
|
|
"path": "dist/mac-x64/GCL-1.1.0-mac-x64.zip",
|
|
"dir": "dist/mac-x64",
|
|
"name": "GCL-1.1.0-mac-x64.zip",
|
|
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.1.0/GCL-1.1.0-mac-x64.zip"
|
|
},
|
|
"linux-arm64": {
|
|
"path": "dist/linux-arm64/GCL-1.1.0-linux-arm64.zip",
|
|
"dir": "dist/linux-arm64",
|
|
"name": "GCL-1.1.0-linux-arm64.zip",
|
|
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.1.0/GCL-1.1.0-linux-arm64.zip"
|
|
}
|
|
}
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "contour-map",
|
|
"version": "1.1",
|
|
"build": "773ab2161d",
|
|
"manifestSha256": "f86a3f83d5953cafc333585da3009d8846448f6a8a9df13b39cde57b36037733",
|
|
"filesSha256": "a6bdf9b4273aabee50c3c94ceab4d0abee15f0df1af90c58bdbb796e0d2d5699",
|
|
"files": 5,
|
|
"dir": "model/contour-map"
|
|
},
|
|
{
|
|
"id": "earth-geography",
|
|
"version": "1.9",
|
|
"build": "cc68b8863b",
|
|
"manifestSha256": "448f050fded46d7bfc8f0c3856e741c4a4f82523c8e012dd846ddcd400ff394a",
|
|
"filesSha256": "c018ba481831e23d3183a38ac47251f19754c7464baa5d85b47cea7a49fcfa95",
|
|
"files": 11,
|
|
"dir": "model/earth-geography"
|
|
},
|
|
{
|
|
"id": "earth-revolution",
|
|
"version": "1.7",
|
|
"build": "53b7a0fbc3",
|
|
"manifestSha256": "c69fc53f50213c6ab7658e1a761a20d2c55a7a344beb3c75a30393c26fa40167",
|
|
"filesSha256": "4cd45b0324a77574a0da3a939c2a6faebc785c5a24cb50136d62a78a6ea2e9b1",
|
|
"files": 7,
|
|
"dir": "model/earth-revolution"
|
|
},
|
|
{
|
|
"id": "earth-rotation",
|
|
"version": "1.7",
|
|
"build": "ecd52665f9",
|
|
"manifestSha256": "cbf12a47747a331c9980260f39169b1813bb4b52a8916995fda05755267bddca",
|
|
"filesSha256": "594b005a6a9f36cd0b5d4e4a7a0b1ab42d53c8032832545b71c3915493d56c8e",
|
|
"files": 7,
|
|
"dir": "model/earth-rotation"
|
|
},
|
|
{
|
|
"id": "scale-calculator",
|
|
"version": "1.6",
|
|
"build": "105653737d",
|
|
"manifestSha256": "fc6f7deb1efb076cc0bbee732e7de8f007ed74bc837dba2268be1e0adc1839d3",
|
|
"filesSha256": "732dd26406e0f1e836970499d7ea644def332ce909d7f8aa0a403bbe7337e604",
|
|
"files": 6,
|
|
"dir": "model/scale-calculator"
|
|
}
|
|
],
|
|
"signature": {
|
|
"alg": "ECDSA-P256-SHA256",
|
|
"keyId": "gc-2026-12",
|
|
"value": "DzOHHAa1bdiwt2erQ0tpynhT4ukgtG7IMvfNO7oXo+FUe3RdokAtIbuQ599yOG2lGABxkU19UBp9scs5fiTdZA==",
|
|
"contentSha256": "17f9d2eacc27592db13167742c214498941267e7b77b54fcd3c5896f818cb082",
|
|
"signedAt": "2026-11-19T05:09:10Z"
|
|
}
|
|
}
|