Skip to content

Commit

Permalink
rename branch name to main
Browse files Browse the repository at this point in the history
  • Loading branch information
sbwml committed Sep 14, 2024
1 parent 01a2435 commit 3c30ffc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand All @@ -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)
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 3c30ffc

Please sign in to comment.