Skip to content

Commit 984ea0d

Browse files
authored
Update ToggleTether.cmd
1 parent 35bfa55 commit 984ea0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ToggleTether.cmd

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22
Rem This script toggles tether on Android device via Android Debug Bridge, make sure USB debugging is on and platform-tools is installed on your computer before running.
33
Rem This script needs to be edited before use. (replace Your-Device-Name with your Android device name or IP)
4-
title [ImAyx.Pro] Toggling Tether...
4+
title [ImAyx.top] Toggling Tether...
55
echo This script needs to be edited before use. (replace Your-Device-Name with your Android device name or IP)
66
Rem It's recommended that you remove the line above after you have done the edit.
77
Rem You can also remove the "-s" parameter if you're sure there'll be no more than one device connected to your computer at a time.
@@ -11,7 +11,7 @@ Rem These two operations are for compatibility of wireless debugging (so the set
1111
echo.
1212
adb -s Your-Device-Name shell svc wifi enable
1313
if %errorlevel% neq 0 (
14-
title [ImAyx.Pro] Awaiting Response...
14+
title [ImAyx.top] Awaiting Response...
1515
color 6
1616
echo.
1717
echo Failed to enable Wi-Fi on the device.
@@ -41,7 +41,7 @@ echo Opening up Tether Settings...
4141
echo.
4242
adb -s Your-Device-Name shell am start -n com.android.settings/.TetherSettings
4343
if %errorlevel% neq 0 (
44-
title [ImAyx.Pro] Toggle Failed!
44+
title [ImAyx.top] Toggle Failed!
4545
color cf
4646
echo.
4747
echo Failed to open Tether Settings.
@@ -65,7 +65,7 @@ echo Toggling Tether...
6565
echo.
6666
adb -s Your-Device-Name shell input keyevent 66
6767
if %errorlevel% neq 0 (
68-
title [ImAyx.Pro] Toggle Failed!
68+
title [ImAyx.top] Toggle Failed!
6969
color cf
7070
echo.
7171
echo Failed to Toggle Tether.

0 commit comments

Comments
 (0)