Update Install.sh

This commit is contained in:
TheyCallMeSecond 2024-01-04 10:06:52 +03:30 committed by GitHub
parent 95f9da30cf
commit 9b1e2eac4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1338,8 +1338,9 @@ function select_unlocked_items() {
4). YouTube 4). YouTube
5). Google 5). Google
6). Spotify 6). Spotify
Select [1-6]: " choices 7). Reddit
if [[ "$choices" =~ ^[123456]+$ ]]; then Select [1-7]: " choices
if [[ "$choices" =~ ^[1234567]+$ ]]; then
selected=($(echo "$choices" | sed 's/./& /g')) selected=($(echo "$choices" | sed 's/./& /g'))
break break
else else
@ -1368,7 +1369,10 @@ function update_geosite_array() {
;; ;;
6) 6)
geosite+=("\"spotify\"") geosite+=("\"spotify\"")
;; ;;
7)
geosite+=("\"reddit\"")
;;
*) *)
echo -e "${RED}Invalid choice: $choice${NC}" echo -e "${RED}Invalid choice: $choice${NC}"
;; ;;