Skip to content

Commit 0a85269

Browse files
committed
Update
1 parent 41a38b5 commit 0a85269

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/addon/hack_wifi/index.bash

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ eval "$(grep '="' "$MPAT/english.prop" | sed "/google_text=/d")"
1616

1717
# Google dịch
1818
if [ "$(glog "auto_trans_text_${MPAT##*/}")" == 1 ]; then
19-
trans_add "$MPAT" 'english.prop'
19+
trans_add "$MPAT"
2020
[ -f "$MPAT/auto.sh" ] && source "$MPAT/auto.sh"
2121
fi
2222

@@ -40,11 +40,11 @@ if [ "$1" == "home" ]; then
4040
[ -e /dev/wmtWifi ] && wifi_tool_mtk="--mtk-wifi"
4141
cd "$HOME/root"
4242
if [ "$(glog wifi_tool_customize)" == 1 ]; then
43-
python -u '$MPAT'/main.py -i wlan0 -b "$state" -B -w -p $(glog pin_number_wifi 00000000) --spoof-mac $wifi_tool_mtk | sed -u -e "s/\[[0-9;]*m//g" -e "s|WPA PSK:|WPA PSK (Password):|"
43+
python -u '$MPAT'/main.py -i wlan0 -b "$state" -B -w -p $(glog pin_number_wifi 00000000) --spoof-mac $wifi_tool_mtk | sed -u -e "s|WPA PSK:|WPA PSK (Password):|"
4444
elif [ "$(glog wifi_tool_customize)" == 2 ]; then
45-
python -u '$MPAT'/main.py -i wlan0 -b "$state" --pbc $wifi_tool_mtk | sed -u -e "s/\[[0-9;]*m//g" -e "s|WPA PSK:|WPA PSK (Password):|"
45+
python -u '$MPAT'/main.py -i wlan0 -b "$state" --pbc $wifi_tool_mtk | sed -u -e "s|WPA PSK:|WPA PSK (Password):|"
4646
else
47-
python -u '$MPAT'/main.py -i wlan0 -b "$state" -K --spoof-mac -d 3 -l 120 $wifi_tool_mtk | sed -u -e "s/\[[0-9;]*m//g" -e "s|WPA PSK:|WPA PSK (Password):|"
47+
python -u '$MPAT'/main.py -i wlan0 -b "$state" -K --spoof-mac -d 3 -l 120 $wifi_tool_mtk | sed -u -e "s|WPA PSK:|WPA PSK (Password):|"
4848
fi
4949
echo
5050
checktime

0 commit comments

Comments
 (0)