termux-connecting 1.1.11 → 1.1.12

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.11"
4
+ VERSION="1.1.12"
5
5
  CONFIG_DIR="$HOME/.config/termux-connecting"
6
6
  CONFIG_FILE="$CONFIG_DIR/config"
7
7
  SSH_PORT=8022
@@ -43,6 +43,12 @@ title "TERMUX CONNECTING — Setup"
43
43
  echo "Memeriksa dan mengkonfigurasi Termux..."
44
44
  echo "----------------------------------------"
45
45
 
46
+ # Pastikan coreutils (timeout) tersedia
47
+ if ! command -v timeout >/dev/null; then
48
+ echo " Install coreutils untuk timeout..."
49
+ pkg install -y coreutils
50
+ fi
51
+
46
52
  title "1. Update & Upgrade Paket"
47
53
  echo "Menjalankan pkg update && pkg upgrade..."
48
54
  if timeout 300 pkg update -y && timeout 300 pkg upgrade -y; then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termux-connecting",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "description": "CLI setup Termux + koneksi SSH dari PC/Mac dengan Telegram alert",
5
5
  "bin": {
6
6
  "termux-connecting": "bin/termux-connecting",