Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
iOS-run-macOS-executables-tools/resign_dyld_cache/resign.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
12 lines (12 sloc)
467 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| python3 remove_signature.py "$1" | |
| /usr/bin/codesign --force \ | |
| --sign 52F754C59CFAC59BC5794F5A3B523EFE0667D7EB \ | |
| --timestamp=none \ | |
| "$1" | |
| python3 fixup_signature_size.py "$1" | |
| target_path="/usr/local/zhuowei/dyld_shared_cache_arm64e" | |
| sha256_filename="$(echo -n "$target_path" | shasum -a 256 | cut -f 1 -d " ")" | |
| codesign -d -vvv "$1" 2>&1 |grep "^CDHash="|cut -f 2 -d "="|xxd -r -p >"$sha256_filename" | |
| echo "put $sha256_filename in /taurine/cstmp/" |