├── .github └── workflows │ └── main.yml ├── .gitignore ├── README.md └── data └── info.json /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: Update patch 2 | 3 | on: 4 | push: 5 | workflow_dispatch: 6 | schedule: 7 | - cron: "40 * * * *" 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: Login to GitHub Container Registry 14 | uses: docker/login-action@v2 15 | with: 16 | registry: ghcr.io 17 | username: "azexbot" 18 | password: ${{ secrets.GHCR_TOKEN }} 19 | 20 | - name: Load cache 21 | uses: actions/cache@v3 22 | with: 23 | key: azex-dbcache-${{ github.run_id }} 24 | path: "cache" 25 | restore-keys: | 26 | azex-dbcache 27 | 28 | - name: Checkout target repo 29 | uses: actions/checkout@v3 30 | with: 31 | path: output/uncensor 32 | 33 | - name: Generate uncensor data 34 | env: 35 | IMAGE_NAME: ghcr.io/azurlanetools/azex/azex-uncensor 36 | run: > 37 | docker run --rm --name azex-uncensor 38 | -e AZEX_USER=$(id -u):$(id -g) 39 | -v $PWD:/azex 40 | $IMAGE_NAME 41 | python -m azex uncensor 42 | 43 | - name: Update badges 44 | uses: s0/git-publish-subdir-action@v2.6.0 45 | env: 46 | REPO: self 47 | BRANCH: badges 48 | FOLDER: output/uncensor/badges 49 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 50 | COMMIT_NAME: bot 51 | COMMIT_EMAIL: bot@github.com 52 | MESSAGE: update badges 53 | 54 | - name: Save changes 55 | id: status 56 | run: | 57 | # push 58 | cd output/uncensor 59 | cat release/outputs.txt >> "$GITHUB_OUTPUT" 60 | git push 61 | echo commit_id=$(git rev-parse HEAD) >> "$GITHUB_OUTPUT" 62 | 63 | - name: Release 64 | uses: softprops/action-gh-release@v1 65 | if: ${{ steps.status.outputs.release != '' }} 66 | with: 67 | tag_name: ${{ steps.status.outputs.release }} 68 | body_path: output/uncensor/release/info.md 69 | target_commitish: ${{ steps.status.outputs.commit_id }} 70 | files: | 71 | output/uncensor/release/gametip 72 | output/uncensor/data/info.json 73 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .hypothesis 2 | /badges 3 | /release 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 碧蓝航线 舰娘名称还原补丁 2 | 3 | 游戏版本: ![](https://github.com/AzurLaneTools/uncensor/raw/badges/version.svg) 4 | 5 | 检查时间: ![](https://github.com/AzurLaneTools/uncensor/raw/badges/lastRun.svg) 6 | 7 | 修改时间: ![](https://github.com/AzurLaneTools/uncensor/raw/badges/lastUpdate.svg) (若你的下载时间晚于该时间, 需要重新下载) 8 | 9 | ## 使用方式 10 | 1. 下载 11 | 12 | [前往Release页面](https://github.com/AzurLaneTools/uncensor/releases/latest), 确认版本信息并下载`gametip`文件 13 | 14 | 或者 [直接下载](https://github.com/AzurLaneTools/uncensor/releases/latest/download/gametip) 15 | 16 | 17 | 2. 替换 18 | 19 | ```bash 20 | adb push gametip /sdcard/Android/data/com.bilibili.azurlane/files/AssetBundles/sharecfgdata/gametip 21 | ``` 22 | -------------------------------------------------------------------------------- /data/info.json: -------------------------------------------------------------------------------- 1 | { 2 | "createAt": "2024-11-14 11:02:50+08:00", 3 | "name": "sharecfgdata/gametip", 4 | "originalMd5": "19b60dd89db5df0a0e3f937c332feb55", 5 | "originalSize": 963284, 6 | "patchMd5": "758bab6897735c6fcda6170de922fcb2", 7 | "patchSize": 964084, 8 | "version": "8.2.180" 9 | } --------------------------------------------------------------------------------