diff --git a/README.md b/README.md index d7fce23..3b2b8e1 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ A file list program that supports multiple storage. *1. requires golang 1.22.x or latest version (Fix build for older branches of OpenWrt.)* ```shell rm -rf feeds/packages/lang/golang - git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang + git clone https://github.com/sbwml/packages_lang_golang -b 23.x feeds/packages/lang/golang ``` *2. get luci-app-alist source & building* @@ -53,10 +53,9 @@ A file list program that supports multiple storage. - Execute install script (Multi-architecture support) ```shell - sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-alist/master/install.sh)" + sh -c "$(curl -ksS https://raw.githubusercontent.com/sbwml/luci-app-alist/main/install.sh)" ``` -------------- -![](https://user-images.githubusercontent.com/16485166/190462187-5d54725e-1d9b-45f3-854f-403b882fb223.png) - +![](https://github.com/user-attachments/assets/cf0435ec-4aa4-4c12-bcab-18949e4ea840) diff --git a/install.sh b/install.sh index c0cc683..8e2356d 100644 --- a/install.sh +++ b/install.sh @@ -15,10 +15,10 @@ else exit 1 fi -# check +# check luci if [ ! -d "/usr/share/luci/menu.d" ]; then - echo -e "${RED_COLOR}OpenWrt LuCI version is not supports.${RES}" - echo -e "${RED_COLOR}Minimum OpenWrt Version: openwrt-21.02 or latest${RES}" + echo -e "${RED_COLOR}OpenWrt LuCI version is not support JavaScript.${RES}" + echo -e "${RED_COLOR}Minimum OpenWrt Version (openwrt.org): openwrt-21.02 or latest.${RES}" exit 1 fi @@ -31,7 +31,7 @@ country_code=$(echo $ip_info | sed -r 's/.*country_code":"([^"]*).*/\1/') if [ $country_code = "CN" ]; then google_status=$(curl -I -4 -m 3 -o /dev/null -s -w %{http_code} http://www.google.com/generate_204) if [ ! $google_status = "204" ];then - mirror="https://mirror.ghproxy.com/" + mirror="https://ghp.ci/" fi fi