Compare commits

...
Author SHA1 Message Date
Morris 98bfe76808 Merge branch 'main' into feat/win-cross-compile 2026-11-18 10:09:51 +00:00
Morris 40e72957e3 Merge pull request 'build: 支持在 Linux/macOS 上交叉编译 Windows 前端' (#7) from feat/win-cross-compile into main
Reviewed-on: #7
2026-11-18 10:09:49 +00:00
Morris fdbf3160e8 fix(update): 更新清单指向 xhmcl 仓库,下载地址与 tag 对齐
PR 审核 / 后端编译 (pull_request) Canceled after 0s
PR 审核 / 后端自检 (pull_request) Canceled after 0s
PR 审核 / 前端检查(Flutter) (pull_request) Canceled after 0s
PR 审核 / 安全扫描 (pull_request) Canceled after 0s
PR 审核 / 审核汇总 (pull_request) Canceled after 0s
VersionStamp 里硬编码的仓库地址还是 gitcode.com/Morris_1/GC,与启动器
AppSettings.UpdateRepository 的默认值(git.xhmcl.com/Morris/GC)不一致,
导致生成的 version.json 把客户端导到一个没有对应 Release 的仓库。

同时下载地址拼的是 /download/v{版本}/,而实际 tag 没有 v 前缀
(1.0.7、1.0.8),两者对不上会 404。

改为读同一仓库地址并去掉 v 前缀,同时把当前 1.0.8 的清单同步过来
(sha256 沿用本次构建产物,未重算)。
2026-11-18 13:54:15 +08:00
Morris 2cc862a8da Merge pull request '启动器接入 Flutter 前端 · 公司信息统一 Morris · 模型版本 +1' (#6) from feat/flutter-ui into main
Reviewed-on: #6
2026-11-18 05:47:39 +00:00
Morris 926a568dc0 Merge branch 'main' into feat/flutter-ui
PR 审核 / 后端编译 (pull_request) Canceled after 0s
PR 审核 / 后端自检 (pull_request) Canceled after 0s
PR 审核 / 前端检查(Flutter) (pull_request) Canceled after 0s
PR 审核 / 安全扫描 (pull_request) Canceled after 0s
PR 审核 / 审核汇总 (pull_request) Canceled after 0s
2026-11-18 04:37:15 +00:00
Morris aeab68d421 Merge pull request 'chore: 彻底移除 NeoRF 标识(命名空间 / 作者 / Bundle ID)' (#5) from chore/remove-neorf into main
Reviewed-on: #5
2026-11-17 22:55:44 +00:00
3 changed files with 60 additions and 60 deletions

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ using GC.Services;
// 仓库根 version.json 与 model/version.json(内容相同,便于两种源地址读取)。
// 仓库地址(编译产物的 Release 也发在这里):与启动器默认 updateRepository 保持一致。
const string Repository = "https://gitcode.com/Morris_1/GC";
const string Repository = "https://git.xhmcl.com/Morris/GC";
// 位置参数:<仓库根> <启动器版本>;开关:--launcher-only
// --launcher-only 只刷新 launcher.packages(构建脚本在打完 zip 之后再调一次),
@@ -150,7 +150,7 @@ var packages = new Dictionary<string, Dictionary<string, object>>();
// 2) 仓库里的编译产物 dist/<系统>-<架构>/GC-<版本>-<系统>-<架构>.zip ——
// 不发 Release、只提交产物也能更新(用户明确要求支持这种布局)。
// 两种都写:url 只是「去哪儿找」,真正的完整性凭据是下面的 sha256(受签名保护)。
var releaseBase = $"{Repository}/releases/download/v{launcherVersion}";
var releaseBase = $"{Repository}/releases/download/{launcherVersion}";
foreach (var rid in new[] { "win-x64", "win-arm64", "osx-arm64", "osx-x64", "linux-x64" })
{
var label = LauncherArtifacts.LabelOf(rid);
+29 -29
View File
@@ -1,48 +1,48 @@
{
"schema": 1,
"generated": "2026-11-18T04:35:15Z",
"repository": "https://gitcode.com/Morris_1/GC",
"generated": "2026-11-18T05:48:18Z",
"repository": "https://git.xhmcl.com/Morris/GC",
"branch": "main",
"modelDir": "model",
"launcher": {
"version": "1.0.7",
"version": "1.0.8",
"revision": "",
"packages": {
"win-x64": {
"path": "dist/win-amd64/GC-1.0.7-win-amd64.zip",
"path": "dist/win-amd64/GC-1.0.8-win-amd64.zip",
"dir": "dist/win-amd64",
"name": "GC-1.0.7-win-amd64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-win-amd64.zip",
"sha256": "e9e0794206c6a0dfb8449ac30390ed788da72a5661d362af9f9a6e489cad0aad",
"size": 102382195
"name": "GC-1.0.8-win-amd64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-win-amd64.zip",
"sha256": "eb61c4aa619cb2245c5b79b733bf22a81ed63e304b794c3f0fb5a553e0e7f752",
"size": 114371163
},
"win-arm64": {
"path": "dist/win-arm64/GC-1.0.7-win-arm64.zip",
"path": "dist/win-arm64/GC-1.0.8-win-arm64.zip",
"dir": "dist/win-arm64",
"name": "GC-1.0.7-win-arm64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-win-arm64.zip",
"sha256": "11dd6aea480b7eb9d5d0e40c6e8ac7733b83756e37ec924cb98f5e46a531def1",
"size": 98435968
"name": "GC-1.0.8-win-arm64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-win-arm64.zip",
"sha256": "557a64b5028947435959329d2b23bcb24051cb62f7300e1d7c0e07599e467355",
"size": 110424955
},
"osx-arm64": {
"path": "dist/mac-arm64/GC-1.0.7-mac-arm64.zip",
"path": "dist/mac-arm64/GC-1.0.8-mac-arm64.zip",
"dir": "dist/mac-arm64",
"name": "GC-1.0.7-mac-arm64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-mac-arm64.zip",
"sha256": "b085ffabf764ab57cc69a0192b47069479170f9494fb9f447230e74028794982",
"size": 60065859
"name": "GC-1.0.8-mac-arm64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-mac-arm64.zip",
"sha256": "c01ae349fbd897a4bb21119360b8afb952900e4791738efc33b74c974bac1c14",
"size": 60065452
},
"osx-x64": {
"path": "dist/mac-x64/GC-1.0.7-mac-x64.zip",
"path": "dist/mac-x64/GC-1.0.8-mac-x64.zip",
"dir": "dist/mac-x64",
"name": "GC-1.0.7-mac-x64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-mac-x64.zip"
"name": "GC-1.0.8-mac-x64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-mac-x64.zip"
},
"linux-x64": {
"path": "dist/linux-amd64/GC-1.0.7-linux-amd64.zip",
"path": "dist/linux-amd64/GC-1.0.8-linux-amd64.zip",
"dir": "dist/linux-amd64",
"name": "GC-1.0.7-linux-amd64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-linux-amd64.zip"
"name": "GC-1.0.8-linux-amd64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-linux-amd64.zip"
}
}
},
@@ -51,7 +51,7 @@
"id": "contour-map",
"version": "1.1",
"build": "773ab2161d",
"manifestSha256": "c71ea15b519feb47a4fd33288fb92f2dcd40202fb2ce0a771fa408f9b4fbaf41",
"manifestSha256": "1542e3132541e34f9a371ec11d56beb4479b7824433d97083e78c4349af48cff",
"filesSha256": "a6bdf9b4273aabee50c3c94ceab4d0abee15f0df1af90c58bdbb796e0d2d5699",
"files": 5,
"dir": "model/contour-map"
@@ -60,7 +60,7 @@
"id": "earth-geography",
"version": "1.9",
"build": "cc68b8863b",
"manifestSha256": "ae64033c7b46c51eb9c5f3dfb70a5491068c6cd608dec953eb34311cb8045d60",
"manifestSha256": "62e5c3b2ec28c89ade9131f44854ff45b24873193036ce2e13b18d9b68a320cd",
"filesSha256": "c018ba481831e23d3183a38ac47251f19754c7464baa5d85b47cea7a49fcfa95",
"files": 11,
"dir": "model/earth-geography"
@@ -69,7 +69,7 @@
"id": "earth-revolution",
"version": "1.7",
"build": "53b7a0fbc3",
"manifestSha256": "88e6f2f1bd2f7654d169745b96fa85aaea37671b6cdf8ed4fc05f7f259ae90bc",
"manifestSha256": "12a628168785740f67d7bafcce8467875f741b31a1b852643f28ed879972210f",
"filesSha256": "4cd45b0324a77574a0da3a939c2a6faebc785c5a24cb50136d62a78a6ea2e9b1",
"files": 7,
"dir": "model/earth-revolution"
@@ -78,7 +78,7 @@
"id": "earth-rotation",
"version": "1.7",
"build": "ecd52665f9",
"manifestSha256": "9ac0050f65eedc833dd8daa8eb3b18400540269fd1a4b764ef771a357fb1cf0a",
"manifestSha256": "3a492fe3220a3093569164735420d21470e971ca1c73f1ada73c5d91cdd651da",
"filesSha256": "594b005a6a9f36cd0b5d4e4a7a0b1ab42d53c8032832545b71c3915493d56c8e",
"files": 7,
"dir": "model/earth-rotation"
@@ -87,7 +87,7 @@
"id": "scale-calculator",
"version": "1.6",
"build": "105653737d",
"manifestSha256": "05dcb4ec0a4a0cda66dbb633b8ea58e4f4f2de47b5c9557799ac317de874f2af",
"manifestSha256": "c1d65815cfea866e4461b877d53f7af4a920dcb559e2b2453a6bcaa3e1650c66",
"filesSha256": "732dd26406e0f1e836970499d7ea644def332ce909d7f8aa0a403bbe7337e604",
"files": 6,
"dir": "model/scale-calculator"
+29 -29
View File
@@ -1,48 +1,48 @@
{
"schema": 1,
"generated": "2026-11-18T04:35:15Z",
"repository": "https://gitcode.com/Morris_1/GC",
"generated": "2026-11-18T05:48:18Z",
"repository": "https://git.xhmcl.com/Morris/GC",
"branch": "main",
"modelDir": "model",
"launcher": {
"version": "1.0.7",
"version": "1.0.8",
"revision": "",
"packages": {
"win-x64": {
"path": "dist/win-amd64/GC-1.0.7-win-amd64.zip",
"path": "dist/win-amd64/GC-1.0.8-win-amd64.zip",
"dir": "dist/win-amd64",
"name": "GC-1.0.7-win-amd64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-win-amd64.zip",
"sha256": "e9e0794206c6a0dfb8449ac30390ed788da72a5661d362af9f9a6e489cad0aad",
"size": 102382195
"name": "GC-1.0.8-win-amd64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-win-amd64.zip",
"sha256": "eb61c4aa619cb2245c5b79b733bf22a81ed63e304b794c3f0fb5a553e0e7f752",
"size": 114371163
},
"win-arm64": {
"path": "dist/win-arm64/GC-1.0.7-win-arm64.zip",
"path": "dist/win-arm64/GC-1.0.8-win-arm64.zip",
"dir": "dist/win-arm64",
"name": "GC-1.0.7-win-arm64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-win-arm64.zip",
"sha256": "11dd6aea480b7eb9d5d0e40c6e8ac7733b83756e37ec924cb98f5e46a531def1",
"size": 98435968
"name": "GC-1.0.8-win-arm64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-win-arm64.zip",
"sha256": "557a64b5028947435959329d2b23bcb24051cb62f7300e1d7c0e07599e467355",
"size": 110424955
},
"osx-arm64": {
"path": "dist/mac-arm64/GC-1.0.7-mac-arm64.zip",
"path": "dist/mac-arm64/GC-1.0.8-mac-arm64.zip",
"dir": "dist/mac-arm64",
"name": "GC-1.0.7-mac-arm64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-mac-arm64.zip",
"sha256": "b085ffabf764ab57cc69a0192b47069479170f9494fb9f447230e74028794982",
"size": 60065859
"name": "GC-1.0.8-mac-arm64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-mac-arm64.zip",
"sha256": "c01ae349fbd897a4bb21119360b8afb952900e4791738efc33b74c974bac1c14",
"size": 60065452
},
"osx-x64": {
"path": "dist/mac-x64/GC-1.0.7-mac-x64.zip",
"path": "dist/mac-x64/GC-1.0.8-mac-x64.zip",
"dir": "dist/mac-x64",
"name": "GC-1.0.7-mac-x64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-mac-x64.zip"
"name": "GC-1.0.8-mac-x64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-mac-x64.zip"
},
"linux-x64": {
"path": "dist/linux-amd64/GC-1.0.7-linux-amd64.zip",
"path": "dist/linux-amd64/GC-1.0.8-linux-amd64.zip",
"dir": "dist/linux-amd64",
"name": "GC-1.0.7-linux-amd64.zip",
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-1.0.7-linux-amd64.zip"
"name": "GC-1.0.8-linux-amd64.zip",
"url": "https://git.xhmcl.com/Morris/GC/releases/download/1.0.8/GC-1.0.8-linux-amd64.zip"
}
}
},
@@ -51,7 +51,7 @@
"id": "contour-map",
"version": "1.1",
"build": "773ab2161d",
"manifestSha256": "c71ea15b519feb47a4fd33288fb92f2dcd40202fb2ce0a771fa408f9b4fbaf41",
"manifestSha256": "1542e3132541e34f9a371ec11d56beb4479b7824433d97083e78c4349af48cff",
"filesSha256": "a6bdf9b4273aabee50c3c94ceab4d0abee15f0df1af90c58bdbb796e0d2d5699",
"files": 5,
"dir": "model/contour-map"
@@ -60,7 +60,7 @@
"id": "earth-geography",
"version": "1.9",
"build": "cc68b8863b",
"manifestSha256": "ae64033c7b46c51eb9c5f3dfb70a5491068c6cd608dec953eb34311cb8045d60",
"manifestSha256": "62e5c3b2ec28c89ade9131f44854ff45b24873193036ce2e13b18d9b68a320cd",
"filesSha256": "c018ba481831e23d3183a38ac47251f19754c7464baa5d85b47cea7a49fcfa95",
"files": 11,
"dir": "model/earth-geography"
@@ -69,7 +69,7 @@
"id": "earth-revolution",
"version": "1.7",
"build": "53b7a0fbc3",
"manifestSha256": "88e6f2f1bd2f7654d169745b96fa85aaea37671b6cdf8ed4fc05f7f259ae90bc",
"manifestSha256": "12a628168785740f67d7bafcce8467875f741b31a1b852643f28ed879972210f",
"filesSha256": "4cd45b0324a77574a0da3a939c2a6faebc785c5a24cb50136d62a78a6ea2e9b1",
"files": 7,
"dir": "model/earth-revolution"
@@ -78,7 +78,7 @@
"id": "earth-rotation",
"version": "1.7",
"build": "ecd52665f9",
"manifestSha256": "9ac0050f65eedc833dd8daa8eb3b18400540269fd1a4b764ef771a357fb1cf0a",
"manifestSha256": "3a492fe3220a3093569164735420d21470e971ca1c73f1ada73c5d91cdd651da",
"filesSha256": "594b005a6a9f36cd0b5d4e4a7a0b1ab42d53c8032832545b71c3915493d56c8e",
"files": 7,
"dir": "model/earth-rotation"
@@ -87,7 +87,7 @@
"id": "scale-calculator",
"version": "1.6",
"build": "105653737d",
"manifestSha256": "05dcb4ec0a4a0cda66dbb633b8ea58e4f4f2de47b5c9557799ac317de874f2af",
"manifestSha256": "c1d65815cfea866e4461b877d53f7af4a920dcb559e2b2453a6bcaa3e1650c66",
"filesSha256": "732dd26406e0f1e836970499d7ea644def332ce909d7f8aa0a403bbe7337e604",
"files": 6,
"dir": "model/scale-calculator"