add links to 3ds homebrew start page and smashbroshax github

This commit is contained in:
Christopher Roy Bratusek 2016-07-24 12:15:11 +02:00
parent 50a076c665
commit 90919613fd

View File

@ -34,21 +34,26 @@ array=($(${YAD} \
»Super Smash Bros for 3DS«
to start the Homebrew Launcher. Game version up to 1.1.2 supported;
(if on a newer version, (temporarily) uninstall the update data).
(if you got a newer version, (temporarily) uninstall the update data).
:LBL" " " \
--field="1. Select WiFi Device to use:CB" "${wireless}" \
--field="2. Select your Game version:CB" "${pcaps}" \
--field="
3. Start game, click 'hax my smash', then to go Smash > Group.:LBL" \
--button="hax my smash" \
--button="cancel"))
3. Start game, click 'hax my smash', then to go Smash > Group.
:LBL" \
--button="! hax my smash:0" \
--button="x cancel:1" \
--button="? 3DS Homebrew:2" \
--button="? smashbroshax:3"))
ret=$?
device=${array[0]}
replay=${array[1]}
if [[ ${ret} == 0 ]]; then
case ${ret} in
0 )
x-terminal-emulator -e /bin/bash -c \
"sudo ifconfig ${device} down && \
sudo iwconfig ${device} mode monitor && \
@ -59,7 +64,17 @@ if [[ ${ret} == 0 ]]; then
-h 59:ee:3f:2a:37:e0 \
-x 20 \
${device}"
else
;;
2 )
xdg-open "https://smealum.github.io/3ds/"
;;
3 )
xdg-open "https://github.com/yellows8/3ds_smashbroshax"
;;
1 )
echo -e "\n cancelled by user \n"
exit 1
fi
esac