termux-connecting 1.1.41 → 1.1.42

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.
@@ -209,9 +209,9 @@ if command -v termux-wake-lock >/dev/null; then
209
209
  termux-wake-lock 2>/dev/null && info "Wake lock aktif — koneksi tetap terjaga saat layar mati"
210
210
  fi
211
211
 
212
- # notification — agar Android tidak kill Termux (timeout 3 detik)
213
- if command -v termux-notification >/dev/null; then
214
- timeout 3 termux-notification -t "Termux Connecting" -c "SSH server berjalan — port 8022" --id sshd-keepalive --ongoing 2>/dev/null || true
212
+ # notification — agar Android tidak kill Termux (non-blocking)
213
+ if command -v termux-notification >/dev/null && timeout 2 termux-notification --help >/dev/null 2>&1; then
214
+ termux-notification -t "Termux Connecting" -c "SSH server berjalan — port 8022" --id sshd-keepalive --ongoing >/dev/null 2>&1 &
215
215
  fi
216
216
 
217
217
  # battery optimization — buka setelan langsung
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termux-connecting",
3
- "version": "1.1.41",
3
+ "version": "1.1.42",
4
4
  "description": "CLI setup Termux + koneksi SSH dari PC/Mac dengan Telegram alert",
5
5
  "bin": {
6
6
  "termux-connecting": "bin/termux-connecting",