refactor(updater): 重构 Go 版本更新器

- 更新项目名称为 AUTO_MAA_Go_Updater
- 重构代码结构,优化函数命名和逻辑
- 移除 CDK 相关的冗余代码
- 调整版本号为 git commit hash
- 更新构建配置和脚本
- 优化 API 客户端实现
This commit is contained in:
2025-07-22 21:51:58 +08:00
parent 747ad6387b
commit 6b646378b6
21 changed files with 887 additions and 1673 deletions

View File

@@ -1,9 +1,9 @@
# Build Configuration for Lightweight Updater
# Build Configuration for AUTO_MAA_Go_Updater
project:
name: "Lightweight Updater"
module: "lightweight-updater"
description: "轻量级自动更新器"
name: "AUTO_MAA_Go_Updater"
module: "AUTO_MAA_Go_Updater"
description: "AUTO_MAA_Go版本更新器"
version:
default: "1.0.0"
@@ -14,7 +14,7 @@ targets:
goos: "windows"
goarch: "amd64"
cgo_enabled: true
output: "lightweight-updater.exe"
output: "AUTO_MAA_Go_Updater.exe"
build:
flags:
@@ -40,7 +40,7 @@ directories:
temp: "temp"
version_injection:
package: "lightweight-updater/version"
package: "AUTO_MAA_Go_Updater/version"
variables:
- name: "Version"
source: "version"