Skip to content

Commit

Permalink
Merge pull request #5 from YuehaiTeam/main
Browse files Browse the repository at this point in the history
feat: single binary update mode
  • Loading branch information
huiyadanli authored Jan 26, 2025
2 parents 15396d2 + f1bd12b commit 3cdf043
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,6 @@ jobs:
cd dist
..\kachina-builder.exe gen -j 6 -i BetterGI -m metadata.json -o hashed -r babalae/bettergi -t ${{ needs.build_dist.outputs.version }} --diff-vers ..\last\BetterGI --diff-ignore *[.txt,.onnx] -u .\BetterGI\BetterGI.update.exe
..\kachina-builder.exe pack -c ../kachina.config.json -m metadata.json -d hashed -o BetterGI.Install.${{ needs.build_dist.outputs.version }}.exe
- name: 📦 Generate archive
run: |
cd dist
7z a dfs.tar hashed/ metadata.json -r -y
- uses: actions/upload-artifact@v4
with:
name: dfs
path: dist/dfs.tar
- uses: actions/upload-artifact@v4
with:
name: BetterGI_Install
Expand Down
5 changes: 3 additions & 2 deletions kachina.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dfsPath": "bgi",
"source": "dfs+packed+https://77.cocogoat.cn/v2/dfs/bgi/BetterGI.Install.exe",
"appName": "BetterGI",
"publisher": "babalae",
"regName": "BetterGI",
Expand All @@ -11,5 +11,6 @@
"description": "更好的原神,免费且开源",
"windowTitle": "BetterGI 安装程序",
"userDataPath": ["${INSTALL_PATH}/User"],
"extraUninstallPath": ["${INSTALL_PATH}/log"]
"extraUninstallPath": ["${INSTALL_PATH}/log"],
"uacStrategy": "prefer-admin"
}

0 comments on commit 3cdf043

Please sign in to comment.