This commit is contained in:
jerry048 2023-02-27 10:15:03 +08:00
parent d16fe38c27
commit de4d8ae6dd
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
function qBittorrent_download { function qBittorrent_download {
## Allow users to determine which version of qBittorrent to be installed ## Allow users to determine which version of qBittorrent to be installed
need_input; echo "Please enter your choice (qBittorrent Version - libtorrent Version):"; normal_3 need_input; echo "Please enter your choice (qBittorrent Version - libtorrent Version):"; normal_3
options=("qBittorrent 4.1.9 - libtorrent-1_1_14" "qBittorrent 4.1.9.1 - libtorrent-1_1_14" "qBittorrent 4.3.9 - libtorrent-v1.2.18" "qBittorrent 4.4.5 - libtorrent-v1.2.18" "qBittorrent 4.4.5 - libtorrent-v2.0.8" "qBittorrent 4.5.1 - libtorrent-v1.2.18" "qBittorrent 4.5.1 - libtorrent-v2.0.8") options=("qBittorrent 4.1.9 - libtorrent-1_1_14" "qBittorrent 4.1.9.1 - libtorrent-1_1_14" "qBittorrent 4.3.8 - libtorrent-v1.2.14" "qBittorrent 4.3.9 - libtorrent-v1.2.18" "qBittorrent 4.4.5 - libtorrent-v1.2.18" "qBittorrent 4.4.5 - libtorrent-v2.0.8" "qBittorrent 4.5.1 - libtorrent-v1.2.18" "qBittorrent 4.5.1 - libtorrent-v2.0.8")
select opt in "${options[@]}" select opt in "${options[@]}"
do do
case $opt in case $opt in
@ -11,6 +11,9 @@ function qBittorrent_download {
"qBittorrent 4.1.9.1 - libtorrent-1_1_14") "qBittorrent 4.1.9.1 - libtorrent-1_1_14")
qBver=4.1.9.1 && libver=libtorrent-1_1_14; break qBver=4.1.9.1 && libver=libtorrent-1_1_14; break
;; ;;
"qBittorrent 4.3.8 - libtorrent-v1.2.14")
qBver=4.3.8 && libver=libtorrent-v1.2.14; break
;;
"qBittorrent 4.3.9 - libtorrent-v1.2.18") "qBittorrent 4.3.9 - libtorrent-v1.2.18")
qBver=4.3.9 && libver=libtorrent-v1.2.18; break qBver=4.3.9 && libver=libtorrent-v1.2.18; break
;; ;;