mirror of
https://github.com/CoolnsX/repos_scripts.git
synced 2026-06-17 07:22:12 +05:30
should get thru ci now
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user