Last active
August 29, 2015 14:24
-
-
Save levisre/d934b02f3e6e40aff43c to your computer and use it in GitHub Desktop.
A small Shell Script to install Script Collection for Hopper Disassembler
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/sh | |
| ARCHIVE="master.zip" | |
| SCRIPT_PATH="$HOME/GNUstep/Library/ApplicationSupport/Hopper/Scripts/" | |
| UNZIP_PATH="HopperScripts-master" | |
| #Require wget, unzip | |
| echo "Hopper Disassembler Scripts Installer\n Based on phracker Github Repository" | |
| echo "Moving to TMP folder..." | |
| cd /tmp | |
| echo "Grabbing Archive...." | |
| wget https://github.com/phracker/HopperScripts/archive/master.zip | |
| echo "Archive Grabbed. Unzipping..." | |
| unzip $ARCHIVE | |
| cd $UNZIP_PATH | |
| echo "Copying Files..." | |
| cp * $SCRIPT_PATH -v | |
| cd .. | |
| rm $ARCHIVE | |
| rm -rf $UNZIP_PATH | |
| rm $SCRIPT_PATH/*.md | |
| echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment