mirror of
https://github.com/TheyCallMeSecond/sing-box-manager.git
synced 2024-11-16 11:42:39 +08:00
Update Install.sh
This commit is contained in:
parent
95f9da30cf
commit
9b1e2eac4f
10
Install.sh
10
Install.sh
|
@ -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}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user