From ec453acec12d3aad7c10294cf59411e995a0d7c3 Mon Sep 17 00:00:00 2001 From: ShrBox Date: Sun, 14 Jan 2024 19:24:32 +0800 Subject: [PATCH] chore: add tooth.json --- .github/workflows/build.yml | 4 ++-- tooth.json | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 tooth.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e1763f8..85276df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: peeditor-${{ env.VERSION }}-windows-amd64 - path: artifacts + path: artifacts/peeditor-${{ env.VERSION }}-windows-amd64 upload-to-release: name: Upload to Release @@ -107,7 +107,7 @@ jobs: run: | mv peeditor-${{ env.VERSION }}-windows-amd64 artifacts mv artifacts/peeditor-${{ env.VERSION }}-windows-amd64 . - zip -r peeditor-${{ env.VERSION }}-windows-amd64.zip peeditor-${{ env.VERSION }}-windows-amd64 + zip -r peeditor-${{ env.VERSION }}-windows-amd64.zip peeditor-${{ env.VERSION }}-windows-amd64/* echo "ZIP_SHA256=$(sha256sum peeditor-${{ env.VERSION }}-windows-amd64.zip | cut -d ' ' -f 1)" >> $GITHUB_ENV echo "EXE_SHA256=$(sha256sum peeditor-${{ env.VERSION }}-windows-amd64/PeEditor.exe | cut -d ' ' -f 1)" >> $GITHUB_ENV echo "PDB_SHA256=$(sha256sum peeditor-${{ env.VERSION }}-windows-amd64/PeEditor.pdb | cut -d ' ' -f 1)" >> $GITHUB_ENV diff --git a/tooth.json b/tooth.json new file mode 100644 index 0000000..53b1466 --- /dev/null +++ b/tooth.json @@ -0,0 +1,20 @@ +{ + "format_version": 2, + "tooth": "github.com/LiteLDev/PeEditor", + "version": "3.5.0", + "info": { + "name": "PeEditor", + "description": "A tool to inject PreLoader to Minecraft Bedrock Dedicated Server", + "author": "LiteLDev", + "tags": [] + }, + "asset_url": "https://github.com/LiteLDev/PeEditor/releases/download/v3.5.0/peeditor-v3.5.0-windows-amd64.zip", + "files": { + "place": [ + { + "src": "PeEditor.exe", + "dest": "PeEditor.exe" + } + ] + } +} \ No newline at end of file