Skip to content

Commit 0bb3034

Browse files
committed
fix: 打包时附带地图数据
1 parent 70d2ccc commit 0bb3034

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/package-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ jobs:
7979
echo "AFA latest tag: $tag"
8080
curl -fsSL "https://github.com/$repo/releases/download/$tag/AFA.exe" -o dist/aao.app/afa/AFA.exe
8181
curl -fsSL "https://raw.githubusercontent.com/$repo/$tag/LICENSE" -o dist/aao.app/afa/LICENSE || echo "[WARN] AFA LICENSE 未取到"
82+
- name: Sync game data
83+
run: uv run python -m aao.resources.syncer --remote
8284
- name: Stage external resources
8385
shell: bash
8486
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
curl -fsSL "https://github.com/$repo/releases/download/$tag/AFA.exe" -o dist/aao.app/afa/AFA.exe
6868
curl -fsSL "https://raw.githubusercontent.com/$repo/$tag/LICENSE" -o dist/aao.app/afa/LICENSE || echo "[WARN] AFA LICENSE 未取到"
6969
ls -la dist/aao.app/afa/
70+
- name: Sync game data
71+
run: uv run python -m aao.resources.syncer --remote
7072
- name: Stage external resources
7173
shell: bash
7274
run: |

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ resource/base/model/ocr/
3131
# Runtime config (calibration profiles, controller settings, ...)
3232
config/
3333

34-
# Generated game data (run: uv run python -m akop.resources.syncer)
34+
# Generated game data (run: uv run python -m aao.resources.syncer)
3535
data/map/
36+
data/.battle_data.json
3637
resource/base/image/avatar/
3738

3839
# Reference projects (local clones, not part of this repo)

0 commit comments

Comments
 (0)