This commit is contained in:
LukeZGD 2022-12-24 12:22:27 +08:00
parent bb163957c6
commit 644d155adf
2 changed files with 3 additions and 8 deletions

View File

@ -48,15 +48,10 @@ jobs:
- name: Zip linux files - name: Zip linux files
run: zip -r ${{ github.event.repository.name }}_linux_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip resources/ restore.sh README.md run: zip -r ${{ github.event.repository.name }}_linux_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip resources/ restore.sh README.md
- name: Move linux binaries and other files
run: |
mv ./resources/tools/*linux* ./exclude/tools
mv ./resources/libimobiledevice_linux ./exclude
- name: Download and extract tools_linux_arm - name: Download and extract tools_linux_arm
run: | run: |
curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_arm.zip curl -LO https://github.com/LukeZGD/iOS-OTA-Downgrader-Keys/releases/download/tools/tools_linux_arm.zip
unzip tools_linux_arm.zip -d ./resources unzip -o tools_linux_arm.zip -d ./resources
- name: Zip linux arm files - name: Zip linux arm files
run: zip -r ${{ github.event.repository.name }}_linux_arm_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip resources/ restore.sh README.md run: zip -r ${{ github.event.repository.name }}_linux_arm_${{ env.DATE }}-${{ env.SHA_SHORT }}.zip resources/ restore.sh README.md
@ -65,8 +60,7 @@ jobs:
run: | run: |
mv ./resources/lib/* ./exclude/lib mv ./resources/lib/* ./exclude/lib
mv ./resources/tools/*linux* ./exclude/tools mv ./resources/tools/*linux* ./exclude/tools
mv ./resources/libimobiledevice_linux/* ./exclude/libimobiledevice_linux mv ./resources/libimobiledevice_linux ./exclude
rm -r ./resources/libimobiledevice_linux
mv ./resources/firmware/FirmwareBundles ./resources/firmware/JailbreakBundles ./exclude/firmware mv ./resources/firmware/FirmwareBundles ./resources/firmware/JailbreakBundles ./exclude/firmware
mkdir ./resources/firmware/FirmwareBundles mkdir ./resources/firmware/FirmwareBundles
mv ./exclude/firmware/FirmwareBundles/Down_iPhone3* ./resources/firmware/FirmwareBundles mv ./exclude/firmware/FirmwareBundles/Down_iPhone3* ./resources/firmware/FirmwareBundles

View File

@ -104,6 +104,7 @@ SetToolPaths() {
ideviceinfo="${ideviceinfo}_arm" ideviceinfo="${ideviceinfo}_arm"
iproxy="${iproxy}_arm" iproxy="${iproxy}_arm"
ipsw="${ipsw}_arm" ipsw="${ipsw}_arm"
irecoverychk="${irecoverychk}_arm"
partialzip="${partialzip}_arm" partialzip="${partialzip}_arm"
powdersn0w="${powdersn0w}_arm" powdersn0w="${powdersn0w}_arm"
tsschecker="${tsschecker}_arm" tsschecker="${tsschecker}_arm"