This commit is contained in:
LukeeGD 2024-08-24 17:23:41 +08:00
parent c0edc8d96f
commit 2fcf120d27
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ jobs:
cp -r Legacy-iOS-Kit-Keys-master/* firmware cp -r Legacy-iOS-Kit-Keys-master/* firmware
mv ipwndfu*/ ../saved/ipwndfu mv ipwndfu*/ ../saved/ipwndfu
rm -rf Legacy-iOS-Kit-Keys-master/ ipwndfu.zip keys.zip rm -rf Legacy-iOS-Kit-Keys-master/ ipwndfu.zip keys.zip
echo "11e989557a7c4b75d70be14ac0ebfc2f9ec80791" > ../saved/ipwndfu/sha1check echo "30f0802078ab6ff83d6b918e13f09a652a96d6dc" > ../saved/ipwndfu/sha1check
popd popd
- name: Move linux binaries - name: Move linux binaries

View File

@ -1723,7 +1723,7 @@ device_ipwndfu() {
device_enter_mode DFU device_enter_mode DFU
local ipwndfu_comm="1d22fd01b0daf52bbcf1ce730022d4212d87f967" local ipwndfu_comm="1d22fd01b0daf52bbcf1ce730022d4212d87f967"
local ipwndfu_sha1="11e989557a7c4b75d70be14ac0ebfc2f9ec80791" local ipwndfu_sha1="30f0802078ab6ff83d6b918e13f09a652a96d6dc"
if [[ ! -s ../saved/ipwndfu/ipwndfu || $(cat ../saved/ipwndfu/sha1check) != "$ipwndfu_sha1" ]]; then if [[ ! -s ../saved/ipwndfu/ipwndfu || $(cat ../saved/ipwndfu/sha1check) != "$ipwndfu_sha1" ]]; then
rm -rf ../saved/ipwndfu-* rm -rf ../saved/ipwndfu-*
download_file https://github.com/LukeZGD/ipwndfu/archive/$ipwndfu_comm.zip ipwndfu.zip $ipwndfu_sha1 download_file https://github.com/LukeZGD/ipwndfu/archive/$ipwndfu_comm.zip ipwndfu.zip $ipwndfu_sha1