From e77f980a5de59b56431f625e20e61ea1b4b8263c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=96=B5=E4=BA=8C?= <2860950766@qq.com> Date: Fri, 2 Aug 2024 23:31:34 +0800 Subject: [PATCH] Update: Github Pages mirrors --- cattools.sh | 22 ++++++++++--------- repo/amd64/github.conf | 6 +++++ .../v22.12/aarch64_cortex-a53/github.conf | 6 +++++ repo/history/v22.12/amd64/github.conf | 6 +++++ repo/history/v23.2/amd64/github.conf | 6 +++++ repo/history/v23.2/mt7986a/github.conf | 6 +++++ repo/mt7621/github.conf | 6 +++++ repo/mt798x/github.conf | 6 +++++ repo/rkarm/github.conf | 6 +++++ 9 files changed, 60 insertions(+), 10 deletions(-) create mode 100644 repo/amd64/github.conf create mode 100644 repo/history/v22.12/aarch64_cortex-a53/github.conf create mode 100644 repo/history/v22.12/amd64/github.conf create mode 100644 repo/history/v23.2/amd64/github.conf create mode 100644 repo/history/v23.2/mt7986a/github.conf create mode 100644 repo/mt7621/github.conf create mode 100644 repo/mt798x/github.conf create mode 100644 repo/rkarm/github.conf diff --git a/cattools.sh b/cattools.sh index d2a9067..eec102c 100644 --- a/cattools.sh +++ b/cattools.sh @@ -686,14 +686,15 @@ apply_repo() { else echo "============================================================================" echo "请选择要使用的软件源:" - echo "1) repo.miaoer.xyz (主站)" - echo "2) cfnetlify" - echo "3) netlify" - echo "4) cfvercel" - echo "5) vercel (默认)" + echo "1) repo.miaoer.xyz (主站)" + echo "2) Github-Pages" + echo "3) Cloudflare-Netlify" + echo "4) Netlify" + echo "5) Cloudflare-Vercel" + echo "6) Vercel (默认)" read -t 10 -p "Please enter your choice /// 请输入选择 (1-5): " choice - choice=${choice:-5} + choice=${choice:-6} case $choice in 1) @@ -708,10 +709,11 @@ apply_repo() { fi conf_file="distfeeds.conf" ;; - 2) conf_file="cfnetlify.conf" ;; - 3) conf_file="netlify.conf" ;; - 4) conf_file="cfvercel.conf" ;; - 5) conf_file="vercel.conf" ;; + 2) conf_file="github.conf" ;; + 3) conf_file="cfnetlify.conf" ;; + 4) conf_file="netlify.conf" ;; + 5) conf_file="cfvercel.conf" ;; + 6) conf_file="vercel.conf" ;; *) conf_file="vercel.conf" ;; esac fi diff --git a/repo/amd64/github.conf b/repo/amd64/github.conf new file mode 100644 index 0000000..4346e08 --- /dev/null +++ b/repo/amd64/github.conf @@ -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 diff --git a/repo/history/v22.12/aarch64_cortex-a53/github.conf b/repo/history/v22.12/aarch64_cortex-a53/github.conf new file mode 100644 index 0000000..c24bd02 --- /dev/null +++ b/repo/history/v22.12/aarch64_cortex-a53/github.conf @@ -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 \ No newline at end of file diff --git a/repo/history/v22.12/amd64/github.conf b/repo/history/v22.12/amd64/github.conf new file mode 100644 index 0000000..a06631e --- /dev/null +++ b/repo/history/v22.12/amd64/github.conf @@ -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 diff --git a/repo/history/v23.2/amd64/github.conf b/repo/history/v23.2/amd64/github.conf new file mode 100644 index 0000000..9be11cc --- /dev/null +++ b/repo/history/v23.2/amd64/github.conf @@ -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 diff --git a/repo/history/v23.2/mt7986a/github.conf b/repo/history/v23.2/mt7986a/github.conf new file mode 100644 index 0000000..a0c65da --- /dev/null +++ b/repo/history/v23.2/mt7986a/github.conf @@ -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 diff --git a/repo/mt7621/github.conf b/repo/mt7621/github.conf new file mode 100644 index 0000000..465cc20 --- /dev/null +++ b/repo/mt7621/github.conf @@ -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 \ No newline at end of file diff --git a/repo/mt798x/github.conf b/repo/mt798x/github.conf new file mode 100644 index 0000000..853ccba --- /dev/null +++ b/repo/mt798x/github.conf @@ -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 diff --git a/repo/rkarm/github.conf b/repo/rkarm/github.conf new file mode 100644 index 0000000..f2a42eb --- /dev/null +++ b/repo/rkarm/github.conf @@ -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