- 启动器改成 self-contained 单文件(压缩);GC.UI.Server 抽出 BackendServer.Start, 由启动器在自己的进程内托管,发布包只剩一个 exe,不再复制两套 .NET 运行时 - 后端保留独立入口(GC.UI.Server 仍可单独 dotnet run),开发调试方式不变 - 守护进程等非本体文件统一放 .GC/bin:首次启动复制到 .GC/safedog 再运行; 更新时只合并 .GC/bin,config/model/cache/update/logs 原地不动 - 压缩包不再预置 .GC 模板,首次启动由 AppPaths.EnsureCreated + RuntimeLayout 生成 - macOS 同样打进 .app 内的单文件启动器 - 版本号 1.0.11,version.json / model/version.json 重签(gc-2026-12)
7 lines
217 B
C#
7 lines
217 B
C#
using GC.UI.Server;
|
|
|
|
// 独立进程入口:`GC.UI.Server --port 17890`
|
|
// 启动器在进程内直接调用 BackendServer.Start,不会走到这里。
|
|
var app = BackendServer.StartFromCommandLine(args);
|
|
app.Run();
|