mirror of
https://gitlab.com/Nanolx/smashbroshaxer.git
synced 2024-11-22 09:19:17 +01:00
add links to 3ds homebrew start page and smashbroshax github
This commit is contained in:
parent
50a076c665
commit
90919613fd
@ -34,32 +34,47 @@ array=($(${YAD} \
|
|||||||
»Super Smash Bros for 3DS«
|
»Super Smash Bros for 3DS«
|
||||||
|
|
||||||
to start the Homebrew Launcher. Game version up to 1.1.2 supported;
|
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" " " \
|
:LBL" " " \
|
||||||
--field="1. Select WiFi Device to use:CB" "${wireless}" \
|
--field="1. Select WiFi Device to use:CB" "${wireless}" \
|
||||||
--field="2. Select your Game version:CB" "${pcaps}" \
|
--field="2. Select your Game version:CB" "${pcaps}" \
|
||||||
--field="
|
--field="
|
||||||
3. Start game, click 'hax my smash', then to go Smash > Group.:LBL" \
|
3. Start game, click 'hax my smash', then to go Smash > Group.
|
||||||
--button="hax my smash" \
|
:LBL" \
|
||||||
--button="cancel"))
|
--button="! hax my smash:0" \
|
||||||
|
--button="x cancel:1" \
|
||||||
|
--button="? 3DS Homebrew:2" \
|
||||||
|
--button="? smashbroshax:3"))
|
||||||
|
|
||||||
ret=$?
|
ret=$?
|
||||||
|
|
||||||
device=${array[0]}
|
device=${array[0]}
|
||||||
replay=${array[1]}
|
replay=${array[1]}
|
||||||
|
|
||||||
if [[ ${ret} == 0 ]]; then
|
case ${ret} in
|
||||||
x-terminal-emulator -e /bin/bash -c \
|
|
||||||
"sudo ifconfig ${device} down && \
|
0 )
|
||||||
sudo iwconfig ${device} mode monitor && \
|
x-terminal-emulator -e /bin/bash -c \
|
||||||
sudo ifconfig ${device} up && \
|
"sudo ifconfig ${device} down && \
|
||||||
yes | sudo ${AIREPLAY} \
|
sudo iwconfig ${device} mode monitor && \
|
||||||
--interactive \
|
sudo ifconfig ${device} up && \
|
||||||
-r ${basedir}/pcap/${replay} \
|
yes | sudo ${AIREPLAY} \
|
||||||
-h 59:ee:3f:2a:37:e0 \
|
--interactive \
|
||||||
-x 20 \
|
-r ${basedir}/pcap/${replay} \
|
||||||
${device}"
|
-h 59:ee:3f:2a:37:e0 \
|
||||||
else
|
-x 20 \
|
||||||
echo -e "\n cancelled by user \n"
|
${device}"
|
||||||
exit 1
|
;;
|
||||||
fi
|
|
||||||
|
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
|
||||||
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user