termux-connecting 1.1.38 → 1.1.40
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 +1 -1
- package/bin/termux-connecting +4 -2
- package/package.json +1 -1
package/bin/termux-connect-pc
CHANGED
package/bin/termux-connecting
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
#!/data/data/com.termux/files/usr/bin/bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
+
VERSION="1.1.38"
|
|
5
|
+
|
|
4
6
|
GREEN='\033[0;32m'; YELLOW='\033[1;33m'; RED='\033[0;31m'; CYAN='\033[0;36m'; NC='\033[0m'
|
|
5
7
|
info() { echo -e "${GREEN}[✓]${NC} $1"; }
|
|
6
8
|
warn() { echo -e "${YELLOW}[!]${NC} $1"; }
|
|
@@ -17,7 +19,7 @@ done
|
|
|
17
19
|
# ─── Mode: Check/Status ───
|
|
18
20
|
if $CHECK; then
|
|
19
21
|
echo ""
|
|
20
|
-
title "TERMUX CONNECTING — Status"
|
|
22
|
+
title "TERMUX CONNECTING — Status v${VERSION}"
|
|
21
23
|
echo " ⏱ Uptime HP : $(uptime -p 2>/dev/null || echo 'N/A')"
|
|
22
24
|
echo ""
|
|
23
25
|
echo " 🔑 SSH Server :"
|
|
@@ -111,7 +113,7 @@ if [ ! -f "$WELCOME_FILE" ]; then
|
|
|
111
113
|
touch "$WELCOME_FILE"
|
|
112
114
|
fi
|
|
113
115
|
|
|
114
|
-
title "TERMUX CONNECTING — Setup"
|
|
116
|
+
title "TERMUX CONNECTING v${VERSION} — Setup"
|
|
115
117
|
|
|
116
118
|
# ─── 1. coreutils ───
|
|
117
119
|
if ! command -v timeout >/dev/null; then
|