fix patcher args

This commit is contained in:
HolographicHat 2022-11-23 12:37:08 +08:00
parent 2693fcd5c5
commit 72e3a00d5a
No known key found for this signature in database
GPG Key ID: 12C8B5B85E5CE5C3

View File

@ -32,7 +32,7 @@ jobs:
- name: Download package
run: "curl -H 'x-rpc-client_type: 2' -H 'x-rpc-app_version: 2.37.1' -H 'x-rpc-channel: miyousheluodi' https://api-takumi.mihoyo.com/ptolemaios/api/getLatestRelease | jq --raw-output '.data.package_url' | xargs curl -o origin.apk"
- name: Patch package
run: "mkdir out && mv app/build/outputs/apk/release/app-release.apk out && java -jar gradle/lspatch/jar-v0.5.1-361-release.jar -f -l 2 -m -o out origin.apk"
run: "mkdir out && mv app/build/outputs/apk/release/app-release.apk out && java -jar gradle/lspatch/jar-v0.5.1-361-release.jar -f -l 2 -m out/app-release.apk -o out/patched.apk origin.apk"
- name: Upload build artifacts
uses: actions/upload-artifact@v3.1.0
with: