termux-connecting 1.1.9 → 1.1.10

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
2
  set -e
3
3
 
4
- VERSION="1.1.9"
4
+ VERSION="1.1.10"
5
5
  CONFIG_DIR="$HOME/.config/termux-connecting"
6
6
  CONFIG_FILE="$CONFIG_DIR/config"
7
7
  SSH_PORT=8022
@@ -53,11 +53,18 @@ else
53
53
  echo " Untuk mengganti ke repo stable, jalankan:"
54
54
  echo " termux-change-repo"
55
55
  echo ""
56
+ echo " Pilih mirror yang stabil:"
57
+ echo " - SourceForge (SF) — paling stabil"
58
+ echo " - Grimler — recommended"
59
+ echo " - Albatross — alternatif"
60
+ echo ""
56
61
  echo -n " Ingin ganti repo sekarang? [y/N]: "
57
62
  read -r change_repo
58
63
  if [[ "$change_repo" =~ ^[Yy]$ ]]; then
59
64
  termux-change-repo
60
- echo " Ulangi update setelah selesai."
65
+ echo ""
66
+ echo " Ulangi update setelah selesai:"
67
+ echo " termux-connecting"
61
68
  fi
62
69
  fi
63
70
 
@@ -70,7 +77,11 @@ for cmd in git node; do
70
77
  echo -n " Install $cmd sekarang? [Y/n]: "
71
78
  read -r install_it
72
79
  if [[ -z "$install_it" || "$install_it" =~ ^[Yy]$ ]]; then
73
- pkg install -y "$cmd" && info "$cmd berhasil diinstall" || error "Gagal install $cmd"
80
+ if [ "$cmd" = "node" ]; then
81
+ pkg install -y nodejs-lts && info "$cmd berhasil diinstall" || error "Gagal install $cmd"
82
+ else
83
+ pkg install -y "$cmd" && info "$cmd berhasil diinstall" || error "Gagal install $cmd"
84
+ fi
74
85
  else
75
86
  warn "Lewati install $cmd"
76
87
  fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termux-connecting",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "CLI setup Termux + koneksi SSH dari PC/Mac dengan Telegram alert",
5
5
  "bin": {
6
6
  "termux-connecting": "bin/termux-connecting",