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