Skip to content

Instantly share code, notes, and snippets.

@lukegb
Created August 29, 2010 17:33
Show Gist options
  • Save lukegb/556481 to your computer and use it in GitHub Desktop.
Save lukegb/556481 to your computer and use it in GitHub Desktop.
#!/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