前端
- 移除全部 Avalonia 依赖,模型渲染与界面统一改用 Flutter
- 新增用户页:登录/注册(SHA-512 + 盐)、签到积分(30 天一循环)、
主题色积分购买、二选一随机、今日人品
- 新增百宝箱页、模型内嵌渲染页、自绘标题栏(最小化/最大化/关闭)
- 下载页显示模型下载进度条,下载源读取加速
- 关于页新增「重新下载启动器」并在下载后做 sha256 完整性校验
- 修复浅色主题下标题栏不跟随主题色、无法连接后端等问题
后端
- 新增 UserService:.GC/user/<用户名>.yaml 存用户名/积分/SHA-512 口令,
登录返回 session token,本地 .GC/user/user.yaml 保存登录态
- 新增 /api/user/{register,login,me,signin,theme} 接口
- 去掉 Avalonia 窗口宿主,后端只提供 HTTP API
下载源
- 新增 GitHub 镜像源(Morris-morris-cloud/GC),与 Xhmcl 并发测速
- 单源探测超时收紧到 2 秒,取最快且可用的源;GitHub 复用 GiteaRemote
(contents 带 ref、releases 带 per_page=100)
构建与 CI
- macOS 上默认只出 macOS 包,Windows 交给原生 Windows 构建
- 修复 Windows 交叉编译中 flutter-cpp-client-wrapper 双层目录嵌套
- 新增 GitHub Actions:
· nightly-prerelease:每天 21:00 编译三平台,发布 nightly 预发布
· build-bot:Issue/PR 评论 @build-bot build <mac|win-amd|win-arm|all>,
发布 ip-prerelease 预发布
· pr-review:检查能否编译、静态分析、合并冲突、是否落后 main
- 忽略 79MB 课件产物等高线.html 与工具链临时备份
71 lines
1.8 KiB
Plaintext
71 lines
1.8 KiB
Plaintext
# 运行数据目录(settings/model/cache/update),绝不入库
|
||
.GC/
|
||
|
||
# 签名私钥:绝对不入库(公钥写在 GC/src/Security/SignatureKeyring.cs 里)
|
||
.signing/
|
||
|
||
# .NET 构建中间产物(已跟踪的历史文件不动,只防新增)
|
||
bin/
|
||
obj/
|
||
|
||
.venv/
|
||
venv/
|
||
env/
|
||
.idea/
|
||
.vscode/
|
||
.DS_Store
|
||
__pycache__/
|
||
*.pyc
|
||
*.pyo
|
||
*.log
|
||
node_modules/
|
||
dist/
|
||
build/
|
||
.pytest_cache/
|
||
.mypy_cache/
|
||
|
||
# ---- GC-UI(Flutter 前端)----
|
||
# Flutter / Dart 构建产物与本地工具状态
|
||
GC-UI/frontend/.dart_tool/
|
||
GC-UI/frontend/.flutter-plugins
|
||
GC-UI/frontend/.flutter-plugins-dependencies
|
||
GC-UI/frontend/.packages
|
||
GC-UI/frontend/build/
|
||
GC-UI/frontend/**/Flutter/ephemeral/
|
||
GC-UI/frontend/**/GeneratedPluginRegistrant.*
|
||
GC-UI/frontend/**/generated_plugin_registrant.*
|
||
GC-UI/frontend/**/generated_plugins.cmake
|
||
GC-UI/frontend/**/generated_plugins.h
|
||
GC-UI/frontend/**/generated_plugin_registrant.h
|
||
GC-UI/frontend/**/generated_plugin_registrant.cc
|
||
GC-UI/frontend/**/generated_plugin_registrant.swift
|
||
GC-UI/frontend/**/flutter_export_environment.sh
|
||
GC-UI/frontend/**/xcschemes/xcschememanagement.plist
|
||
GC-UI/frontend/**/Pods/
|
||
GC-UI/frontend/**/Podfile.lock
|
||
GC-UI/frontend/**/.symlinks/
|
||
GC-UI/frontend/**/Runner.xcworkspace/xcuserdata/
|
||
GC-UI/frontend/**/Runner.xcodeproj/xcuserdata/
|
||
GC-UI/frontend/**/Runner.xcodeproj/project.xcworkspace/xcuserdata/
|
||
GC-UI/frontend/**/DebugProfile.entitlements.bak
|
||
GC-UI/frontend/**/*.iml
|
||
GC-UI/frontend/test/shots/
|
||
|
||
# GC.Tests 离屏渲染输出(dotnet run ... GC.Tests 默认写到仓库根 screenshots/)
|
||
screenshots/
|
||
|
||
# 构建/发布临时文件(禁止入库)
|
||
decrypt.js
|
||
script_*.js
|
||
*.mp4
|
||
courseware/
|
||
.GC/UI/frontend/courseware/assets/*.png
|
||
.workbuddy/
|
||
|
||
|
||
# 课程离线课件的单文件产物(79MB,由构建生成,不入库)
|
||
等高线.html
|
||
|
||
# 工具链临时备份
|
||
buildsh/cross/*.cmake.bak
|