Created
December 24, 2015 00:56
-
-
Save johnf/34e0a19aa52f0c7a2e19 to your computer and use it in GitHub Desktop.
Extract Apple Firmware
This file contains hidden or 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 | |
orig_dir=$(pwd) | |
dir=`mktemp -d` && cd $dir | |
# Grab Partial Zip | |
git clone [email protected]:planetbeing/partial-zip.git | |
cd partial-zip | |
# Compile it | |
cmake CMakeLists.txt | |
make | |
# Grab the exe | |
./partialzip https://support.apple.com/downloads/DL1720/en_US/BootCamp5.1.5621.zip BootCamp/Drivers/Apple/AppleCamera64.exe AppleCamera64.exe | |
mv AppleCamera64.exe $orig_dir | |
rm -rf $dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment