termux-connecting 1.1.15 → 1.1.16
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-connect-pc +17 -2
- package/package.json +1 -1
package/bin/termux-connect-pc
CHANGED
|
@@ -414,11 +414,26 @@ main() {
|
|
|
414
414
|
*)
|
|
415
415
|
load_active
|
|
416
416
|
if [ -z "$ACTIVE_DEVICE" ]; then
|
|
417
|
-
echo "
|
|
417
|
+
echo ""
|
|
418
|
+
echo " Ini pertama kali kamu jalankan termux-connect-pc."
|
|
419
|
+
echo " Kita akan setup koneksi ke Termux di HP kamu."
|
|
418
420
|
echo ""
|
|
419
421
|
cmd_connection
|
|
420
422
|
else
|
|
421
|
-
|
|
423
|
+
echo ""
|
|
424
|
+
echo " Device aktif saat ini: ${ACTIVE_DEVICE}"
|
|
425
|
+
echo ""
|
|
426
|
+
echo " 1) Konek ke ${ACTIVE_DEVICE}"
|
|
427
|
+
echo " 2) Tambah device baru"
|
|
428
|
+
echo " 3) Lihat daftar device"
|
|
429
|
+
echo ""
|
|
430
|
+
echo -n " Pilih [1]: "
|
|
431
|
+
read -r choice
|
|
432
|
+
case "$choice" in
|
|
433
|
+
2) cmd_connection ;;
|
|
434
|
+
3) cmd_list ;;
|
|
435
|
+
*) cmd_check ;;
|
|
436
|
+
esac
|
|
422
437
|
fi
|
|
423
438
|
;;
|
|
424
439
|
esac
|