Created
August 29, 2010 17:33
-
-
Save lukegb/556481 to your computer and use it in GitHub Desktop.
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 | |
# THIS MUST BE SET TO WHERE YOUR WIILOAD IS | |
WIILOAD_LOCATION="/usr/bin/wiiload" | |
# Set this to not make it prompt you every time | |
WIIIP="" | |
WIIIP=`zenity --entry --text="Please enter your Wii's IP address"` | |
WIILOAD="tcp:$WIIIP" | |
if [ ! -z "$1" ]; then | |
WIIFILE=$1 | |
else | |
WIIFILE=`zenity --file-selection "--file-filter=Wii Executables | *.dol *.elf"` | |
fi | |
$WIILOAD_LOCATION $WIIFILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment