Various scripts that I maintain

adb-auto-connect: expand config path

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

matrixfurry.com 762f0428 350fbf4d

verified
Changed files
+1 -1
scripts
+1 -1
scripts/adb-auto-connect.nu
··· 2 2 # SPDX-License-Identifier: AGPL-3.0-only 3 3 # Copyright (c) 2025 Shiloh Fen <shiloh@shilohfen.com> 4 4 5 - let mac = open "~/.config/adb-auto-connect.nuon" 5 + let mac = open ("~/.config/adb-auto-connect.nuon" | path expand) 6 6 7 7 def main [] { 8 8 let connected = (adb devices -l | lines | skip | drop | length) > 0