From f991c246a91eec5cc95269ab5b54e280cd3f6046 Mon Sep 17 00:00:00 2001
From: xyToki <7547189+xytoki@users.noreply.github.com>
Date: Sun, 17 Aug 2025 22:32:40 +0800
Subject: [PATCH] feat: add more update channels
---
Build/kachina.config.json | 97 ++++++++++++++++++++++++---------------
1 file changed, 59 insertions(+), 38 deletions(-)
diff --git a/Build/kachina.config.json b/Build/kachina.config.json
index cf6218fe..229a38d3 100644
--- a/Build/kachina.config.json
+++ b/Build/kachina.config.json
@@ -1,40 +1,61 @@
{
- "source": [
- {
- "id": "dfs",
- "name": "默认服务器",
- "uri": "dfs2+packed+http://bgi-ota.cocogoat.cn/resource/BetterGI.Install.exe"
- },
- {
- "id": "dfs-alpha",
- "name": "内测版",
- "uri": "dfs2+packed+http://bgi-ota.cocogoat.cn/resource/BetterGI.Alpha.exe",
- "hidden": true
- },
- {
- "id": "mirrorc",
- "name": "Mirror酱",
- "uri": "mirrorc://BGI?os=win&arch=x64"
- },
- {
- "id": "mirrorc-alpha",
- "name": "Mirror酱 Alpha",
- "uri": "mirrorc://BGI?channel=alpha&os=win&arch=x64",
- "hidden": true
- }
- ],
- "appName": "BetterGI",
- "publisher": "babalae",
- "regName": "BetterGI",
- "exeName": "BetterGI.exe",
- "uninstallName": "BetterGI.uninst.exe",
- "updaterName": "BetterGI.update.exe",
- "programFilesPath": "BetterGI",
- "title": "BetterGI",
- "description": "更好的原神,免费且开源",
- "windowTitle": "BetterGI 安装程序",
- "userDataPath": ["${INSTALL_PATH}/User"],
- "extraUninstallPath": ["${INSTALL_PATH}/log"],
- "uacStrategy": "prefer-admin",
- "runtimes": ["Microsoft.DotNet.DesktopRuntime.8", "Microsoft.VCRedist.2015+.x64"]
+ "source": [
+ {
+ "id": "dfs",
+ "name": "Steambird",
+ "uri": "dfs2+packed+https://bgi-ota.cocogoat.cn/resource/BetterGI.Install.exe",
+ "icon": ""
+ },
+ {
+ "id": "dfs-alpha",
+ "name": "测试版",
+ "uri": "dfs2+packed+https://bgi-ota.cocogoat.cn/resource/BetterGI.Alpha.exe",
+ "hidden": true
+ },
+ {
+ "id": "github",
+ "name": "GitHub",
+ "uri": "https://github.com/babalae/better-genshin-impact/releases/download/${version}/BetterGI.Install.${version}.exe",
+ "icon": ""
+ },
+ {
+ "id": "cnb",
+ "name": "CNB.cool",
+ "uri": "plugin-github+https://cnb.cool/bettergi/better-genshin-impact/-/releases/download/v${version}/BetterGI.Install.${version}.exe#versionRegex=v([0-9]%2B\\.[0-9]%2B\\.[0-9]%2B)&cacheTime=5",
+ "icon": ""
+ },
+ {
+ "id": "mirrorc",
+ "name": "Mirror酱",
+ "uri": "mirrorc://BGI?os=win&arch=x64",
+ "icon": ""
+ },
+ {
+ "id": "mirrorc-alpha",
+ "name": "Mirror酱 Alpha",
+ "uri": "mirrorc://BGI?channel=alpha&os=win&arch=x64",
+ "hidden": true
+ }
+ ],
+ "appName": "BetterGI",
+ "publisher": "babalae",
+ "regName": "BetterGI",
+ "exeName": "BetterGI.exe",
+ "uninstallName": "BetterGI.uninst.exe",
+ "updaterName": "BetterGI.update.exe",
+ "programFilesPath": "BetterGI",
+ "title": "BetterGI",
+ "description": "更好的原神,免费且开源",
+ "windowTitle": "BetterGI 安装程序",
+ "userDataPath": [
+ "${INSTALL_PATH}/User"
+ ],
+ "extraUninstallPath": [
+ "${INSTALL_PATH}/log"
+ ],
+ "uacStrategy": "prefer-admin",
+ "runtimes": [
+ "Microsoft.DotNet.DesktopRuntime.8",
+ "Microsoft.VCRedist.2015+.x64"
+ ]
}