Skip to content

Commit

Permalink
Update next.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
O-Isaac authored Nov 19, 2024
1 parent 3ffab90 commit 8bb5d66
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Extracting VerCode - Next

on:
workflow_dispatch:
schedule:
- cron: '0 8 * * *'
- cron: '19 15 * * *'
push:
branches: [next]

Expand Down Expand Up @@ -35,7 +37,7 @@ jobs:
run: |
Invoke-WebRequest -Uri "https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.10.0.jar" -OutFile "apktool.jar"
Invoke-WebRequest -Uri "https://github.com/REAndroid/APKEditor/releases/download/V1.4.1/APKEditor-1.4.1.jar" -OutFile "apkeditor.jar"
Invoke-WebRequest -Uri "https://github.com/O-Isaac/FGO-VCE/releases/download/v1.0.2/FGO-VCE-1.0-SNAPSHOT-jar-with-dependencies.jar" -OutFile "fgo-vce.jar"
Invoke-WebRequest -Uri "https://github.com/O-Isaac/FGO-VCE/releases/latest/download/FGO-VCE-1.0-SNAPSHOT-jar-with-dependencies.jar" -OutFile "fgo-vce.jar"
- name: Download Dump Tools
run: |
Invoke-WebRequest -Uri "https://github.com/Perfare/Il2CppDumper/releases/download/v6.7.40/Il2CppDumper-win-v6.7.40.zip" -OutFile "dumper.zip"
Expand All @@ -61,14 +63,7 @@ jobs:
il2cppdumper/Il2CppDumper.exe files/lib/arm64-v8a/libil2cpp.so files/assets/bin/Data/Managed/Metadata/global-metadata.dat decrypt
- name: Get verCode from apk
run: |
java -jar fgo-vce.jar -s decrypt/stringliteral.json -av ${{ env.VERSION }}
$regionFile = "${{ matrix.region }}.json"
if (Test-Path $regionFile) {
Remove-Item $regionFile -Force
}
Rename-Item -Path "app.json" -NewName $regionFile
java -jar fgo-vce.jar -s decrypt/stringliteral.json -av ${{ env.VERSION }} -o ${{ matrix.region }}.json
- name: Upload app.json
uses: EndBug/add-and-commit@v9
with:
Expand Down

0 comments on commit 8bb5d66

Please sign in to comment.