Skip to content

Instantly share code, notes, and snippets.

@levisre
Last active August 29, 2015 14:24
Show Gist options
  • Select an option

  • Save levisre/d934b02f3e6e40aff43c to your computer and use it in GitHub Desktop.

Select an option

Save levisre/d934b02f3e6e40aff43c to your computer and use it in GitHub Desktop.
A small Shell Script to install Script Collection for Hopper Disassembler
#!/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