termux-connecting 1.1.42 → 1.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/termux-connecting +3 -7
- package/package.json +1 -1
package/bin/termux-connecting
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/data/data/com.termux/files/usr/bin/bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
VERSION="1.1.
|
|
4
|
+
VERSION="1.1.44"
|
|
5
5
|
|
|
6
6
|
GREEN='\033[0;32m'; YELLOW='\033[1;33m'; RED='\033[0;31m'; CYAN='\033[0;36m'; NC='\033[0m'
|
|
7
7
|
info() { echo -e "${GREEN}[✓]${NC} $1"; }
|
|
@@ -271,12 +271,8 @@ elif is_cgnat "$IP"; then
|
|
|
271
271
|
echo " 5. Atau cek IP manual: ip a | grep wlan"
|
|
272
272
|
elif is_wifi "$IP"; then
|
|
273
273
|
CONNECTION_OK=true
|
|
274
|
-
echo " Di PC/Mac
|
|
275
|
-
echo " npm i -g termux-connecting"
|
|
276
|
-
echo " termux-connect-pc"
|
|
277
|
-
echo ""
|
|
278
|
-
echo " Lalu isi data di atas saat diminta."
|
|
279
|
-
echo " Setelah setup, cukup: ssh ${HOST_ALIAS:-termux-a8star}"
|
|
274
|
+
echo " Di PC/Mac:"
|
|
275
|
+
echo " npm i -g termux-connecting && termux-connect-pc"
|
|
280
276
|
echo ""
|
|
281
277
|
warn "Pastikan HP dan PC terhubung ke jaringan WiFi YANG SAMA"
|
|
282
278
|
echo ""
|