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.
@@ -414,11 +414,26 @@ main() {
414
414
  *)
415
415
  load_active
416
416
  if [ -z "$ACTIVE_DEVICE" ]; then
417
- echo "Belum ada device. Setup koneksi pertama."
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
- cmd_help
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termux-connecting",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "CLI setup Termux + koneksi SSH dari PC/Mac dengan Telegram alert",
5
5
  "bin": {
6
6
  "termux-connecting": "bin/termux-connecting",