Update: Github Pages mirrors
This commit is contained in:
22
cattools.sh
22
cattools.sh
@@ -686,14 +686,15 @@ apply_repo() {
|
|||||||
else
|
else
|
||||||
echo "============================================================================"
|
echo "============================================================================"
|
||||||
echo "请选择要使用的软件源:"
|
echo "请选择要使用的软件源:"
|
||||||
echo "1) repo.miaoer.xyz (主站)"
|
echo "1) repo.miaoer.xyz (主站)"
|
||||||
echo "2) cfnetlify"
|
echo "2) Github-Pages"
|
||||||
echo "3) netlify"
|
echo "3) Cloudflare-Netlify"
|
||||||
echo "4) cfvercel"
|
echo "4) Netlify"
|
||||||
echo "5) vercel (默认)"
|
echo "5) Cloudflare-Vercel"
|
||||||
|
echo "6) Vercel (默认)"
|
||||||
|
|
||||||
read -t 10 -p "Please enter your choice /// 请输入选择 (1-5): " choice
|
read -t 10 -p "Please enter your choice /// 请输入选择 (1-5): " choice
|
||||||
choice=${choice:-5}
|
choice=${choice:-6}
|
||||||
|
|
||||||
case $choice in
|
case $choice in
|
||||||
1)
|
1)
|
||||||
@@ -708,10 +709,11 @@ apply_repo() {
|
|||||||
fi
|
fi
|
||||||
conf_file="distfeeds.conf"
|
conf_file="distfeeds.conf"
|
||||||
;;
|
;;
|
||||||
2) conf_file="cfnetlify.conf" ;;
|
2) conf_file="github.conf" ;;
|
||||||
3) conf_file="netlify.conf" ;;
|
3) conf_file="cfnetlify.conf" ;;
|
||||||
4) conf_file="cfvercel.conf" ;;
|
4) conf_file="netlify.conf" ;;
|
||||||
5) conf_file="vercel.conf" ;;
|
5) conf_file="cfvercel.conf" ;;
|
||||||
|
6) conf_file="vercel.conf" ;;
|
||||||
*) conf_file="vercel.conf" ;;
|
*) conf_file="vercel.conf" ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|||||||
6
repo/amd64/github.conf
Normal file
6
repo/amd64/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/targets/x86/64/packages
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/x86_64/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/x86_64/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/x86_64/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/x86_64/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/x86_64/telephony
|
||||||
6
repo/history/v22.12/aarch64_cortex-a53/github.conf
Normal file
6
repo/history/v22.12/aarch64_cortex-a53/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/history/v22.12/targets/mediatek/filogic
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/history/v22.12/aarch64_cortex-a53/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/history/v22.12/aarch64_cortex-a53/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/history/v22.12/aarch64_cortex-a53/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/history/v22.12/aarch64_cortex-a53/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/history/v22.12/aarch64_cortex-a53/telephony
|
||||||
6
repo/history/v22.12/amd64/github.conf
Normal file
6
repo/history/v22.12/amd64/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/history/v22.12/targets/x86/64/packages
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/history/v22.12/x86_64/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/history/v22.12/x86_64/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/history/v22.12/x86_64/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/history/v22.12/x86_64/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/history/v22.12/x86_64/telephony
|
||||||
6
repo/history/v23.2/amd64/github.conf
Normal file
6
repo/history/v23.2/amd64/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/history/v23.2/targets/x86/64/packages
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/history/v23.2/x86_64/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/history/v23.2/x86_64/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/history/v23.2/x86_64/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/history/v23.2/x86_64/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/history/v23.2/x86_64/telephony
|
||||||
6
repo/history/v23.2/mt7986a/github.conf
Normal file
6
repo/history/v23.2/mt7986a/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/history/v23.2/targets/mediatek/filogic/packages
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/history/v23.2/mt7986a/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/history/v23.2/mt7986a/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/history/v23.2/mt7986a/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/history/v23.2/mt7986a/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/history/v23.2/mt7986a/telephony
|
||||||
6
repo/mt7621/github.conf
Normal file
6
repo/mt7621/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/targets/ramips/mt7621/packages
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/mipsel_24kc/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/mipsel_24kc/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/mipsel_24kc/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/mipsel_24kc/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/mipsel_24kc/telephony
|
||||||
6
repo/mt798x/github.conf
Normal file
6
repo/mt798x/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/targets/mt798x/filogic/packages
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/mt798x/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/mt798x/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/mt798x/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/mt798x/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/mt798x/telephony
|
||||||
6
repo/rkarm/github.conf
Normal file
6
repo/rkarm/github.conf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
src/gz openwrt_core https://github.catwrt.eu.org/targets/rockchip/armv8/packages
|
||||||
|
src/gz openwrt_base https://github.catwrt.eu.org/aarch64_generic/base
|
||||||
|
src/gz openwrt_luci https://github.catwrt.eu.org/aarch64_generic/luci
|
||||||
|
src/gz openwrt_packages https://github.catwrt.eu.org/aarch64_generic/packages
|
||||||
|
src/gz openwrt_routing https://github.catwrt.eu.org/aarch64_generic/routing
|
||||||
|
src/gz openwrt_telephony https://github.catwrt.eu.org/aarch64_generic/telephony
|
||||||
Reference in New Issue
Block a user