Fix edge, single client, error case

This commit is contained in:
coolnsx
2025-09-10 13:00:57 +05:30
parent e431d829ac
commit b4e63b41ab
4 changed files with 11 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#shellcheck disable=SC2086
#shellcheck disable=SC2086,SC2068
menu_droid() {
fzf --prompt="$1" $2
@@ -20,11 +20,11 @@ search_linux() {
}
torrent_linux() {
setsid -f "$TERMINAL" -e "$(dirname "$0")/torrent" "$1"
setsid -f "$TERMINAL" -e "${0%/*}/torrent" $@
}
torrent_droid() {
"$(dirname "$0")/torrent" "$1"
"${0%/*}/torrent" $@
}
info_droid() {