should get thru ci now

This commit is contained in:
2026-06-05 21:03:07 +05:30
parent 73275cb098
commit 197746a5e4
5 changed files with 55 additions and 45 deletions
+1 -3
View File
@@ -18,12 +18,10 @@ down() {
magnet="$1"
if [ "$(uname -o)" = "Android" ]; then
os="droid"
script_dir="$HOME/.shortcuts"
download_dir="/sdcard"
[ -z "$magnet" ] && magnet="$(termux-clipboard-get)"
else
os="linux"
script_dir="$HOME/repos_scripts"
download_dir="$HOME/Softwares"
[ -z "$magnet" ] && magnet="$(wl-paste)"
terminal="${TERMINAL:-foot}"
@@ -36,7 +34,7 @@ fi
#import generic functions
# shellcheck source=./.functions
. "$script_dir/.functions"
. "$(dirname "$0")"/.functions
filepath="$HOME/.cache"
#check if the url is magnet