添加GC-DOWNLOAD项目

This commit is contained in:
2509_92447106 committed 2026-11-14 18:54:50 +08:00
1 parent c95dfaf9f3
commit 791db4fe12
47 files changed
+869 -313

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
> 模型相关的一切都在 `model/` 里:共享引擎源码 `model/_engine/`、契约源码 `model/_sdk/`、
> 每个模型自己的源码 `model/<id>/src/`,编译产物与数据 `model/<id>/<id>.model/`。
> 仓库根目录只有 `src/`(启动器)和 `model/`,没有任何旁路目录。
> 仓库根还包含 `GC-DOWNLOAD/` 下载更新项目;这里的 `model/` 仍独立保存模型源码与可分发内容。
- 发布态模型库在 **`<可执行文件>/.GC/model/`**;开发态直接用仓库根 `model/`
- 优先级:`EMS_MODELS` 环境变量 → 开发态仓库根 `model/` → 发布态 `.GC/model/`
+1 -1
View File
@@ -10,7 +10,7 @@ using System.Text.Json.Nodes;
// 仓库根 version.json 与 model/version.json(内容相同,便于两种源地址读取)。
// 仓库地址(编译产物的 Release 也发在这里):与启动器默认 updateRepository 保持一致。
const string Repository = "https://gitcode.com/2509_92447106/GC";
const string Repository = "https://gitcode.com/Morris_1/GC";
var root = args.Length > 0 ? Path.GetFullPath(args[0]) : Directory.GetCurrentDirectory();
var launcherVersion = args.Length > 1 && !string.IsNullOrWhiteSpace(args[1]) ? args[1] : "1.0.0";
+2 -2
View File
@@ -25,6 +25,6 @@
"button": "#9FB4D4",
"frame": "#0A1524"
},
"updatedAt": "2026-11-14T05:09:30Z",
"build": "257dcfd58f"
"updatedAt": "2026-11-14T10:53:39Z",
"build": "d3eb662a36"
}
+2 -2
View File
@@ -18,7 +18,7 @@
],
"dataDir": "earth-geography.model",
"version": "1.8",
"updatedAt": "2026-11-14T05:09:30Z",
"updatedAt": "2026-11-14T10:53:39Z",
"chrome": {
"titleBar": "#0C1828",
"titleBorder": "#1B2740",
@@ -26,5 +26,5 @@
"button": "#9FB4D4",
"frame": "#0A1524"
},
"build": "3a10607730"
"build": "d5ad961ed1"
}
+2 -2
View File
@@ -24,7 +24,7 @@
"preview": "preview.png",
"apiVersion": 1,
"version": "1.6",
"updatedAt": "2026-11-14T05:09:30Z",
"updatedAt": "2026-11-14T10:53:39Z",
"chrome": {
"titleBar": "#0C1828",
"titleBorder": "#1B2740",
@@ -32,5 +32,5 @@
"button": "#9FB4D4",
"frame": "#0A1524"
},
"build": "30d5d835df"
"build": "287b1d86af"
}
+2 -2
View File
@@ -24,7 +24,7 @@
"preview": "preview.png",
"apiVersion": 1,
"version": "1.6",
"updatedAt": "2026-11-14T05:09:30Z",
"updatedAt": "2026-11-14T10:53:39Z",
"chrome": {
"titleBar": "#0C1828",
"titleBorder": "#1B2740",
@@ -32,5 +32,5 @@
"button": "#9FB4D4",
"frame": "#0A1524"
},
"build": "aaeef1614c"
"build": "83124cb2ac"
}
+2 -2
View File
@@ -25,7 +25,7 @@
"preview": "preview.png",
"apiVersion": 1,
"version": "1.5",
"updatedAt": "2026-11-14T05:09:30Z",
"updatedAt": "2026-11-14T10:53:39Z",
"chrome": {
"titleBar": "#FFFFFF",
"titleBorder": "#E3E8F3",
@@ -33,5 +33,5 @@
"button": "#5B6A86",
"frame": "#F4F6FB"
},
"build": "c41765488d"
"build": "b8930576fd"
}
+12 -12
View File
@@ -1,7 +1,7 @@
{
"schema": 1,
"generated": "2026-11-14T05:09:30Z",
"repository": "https://gitcode.com/2509_92447106/GC",
"generated": "2026-11-14T10:53:39Z",
"repository": "https://gitcode.com/Morris_1/GC",
"branch": "main",
"modelDir": "model",
"launcher": {
@@ -10,23 +10,23 @@
"packages": {
"win-x64": {
"path": "dist/GC-win-x64.zip",
"url": "https://gitcode.com/2509_92447106/GC/releases/download/v1.0.7/GC-win-x64.zip"
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-win-x64.zip"
},
"win-arm64": {
"path": "dist/GC-win-arm64.zip",
"url": "https://gitcode.com/2509_92447106/GC/releases/download/v1.0.7/GC-win-arm64.zip"
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-win-arm64.zip"
},
"osx-arm64": {
"path": "dist/GC-osx-arm64.zip",
"url": "https://gitcode.com/2509_92447106/GC/releases/download/v1.0.7/GC-osx-arm64.zip"
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-osx-arm64.zip"
},
"osx-x64": {
"path": "dist/GC-osx-x64.zip",
"url": "https://gitcode.com/2509_92447106/GC/releases/download/v1.0.7/GC-osx-x64.zip"
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-osx-x64.zip"
},
"linux-x64": {
"path": "dist/GC-linux-x64.zip",
"url": "https://gitcode.com/2509_92447106/GC/releases/download/v1.0.7/GC-linux-x64.zip"
"url": "https://gitcode.com/Morris_1/GC/releases/download/v1.0.7/GC-linux-x64.zip"
}
}
},
@@ -34,31 +34,31 @@
{
"id": "contour-map",
"version": "1.0",
"build": "257dcfd58f",
"build": "d3eb662a36",
"dir": "model/contour-map"
},
{
"id": "earth-geography",
"version": "1.8",
"build": "3a10607730",
"build": "d5ad961ed1",
"dir": "model/earth-geography"
},
{
"id": "earth-revolution",
"version": "1.6",
"build": "30d5d835df",
"build": "287b1d86af",
"dir": "model/earth-revolution"
},
{
"id": "earth-rotation",
"version": "1.6",
"build": "aaeef1614c",
"build": "83124cb2ac",
"dir": "model/earth-rotation"
},
{
"id": "scale-calculator",
"version": "1.5",
"build": "c41765488d",
"build": "b8930576fd",
"dir": "model/scale-calculator"
}
]