Unverified Commit 52b2838e authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

arm64 修改集成openclash内核的逻辑

parent edb1ecd5
...@@ -54,18 +54,6 @@ jobs: ...@@ -54,18 +54,6 @@ jobs:
fi fi
fi fi
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Building armsr-armv8 QEMU ImmortalWrt - name: Building armsr-armv8 QEMU ImmortalWrt
run: | run: |
profiles="${{ github.event.inputs.profile }}" profiles="${{ github.event.inputs.profile }}"
......
...@@ -40,18 +40,6 @@ jobs: ...@@ -40,18 +40,6 @@ jobs:
- name: Set executable permissions - name: Set executable permissions
run: | run: |
chmod +x ${{ github.workspace }}/raspberrypi/23.05.4/build.sh chmod +x ${{ github.workspace }}/raspberrypi/23.05.4/build.sh
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Build raspberrypi ImmortalWrt 23.05.4 - name: Build raspberrypi ImmortalWrt 23.05.4
run: | run: |
......
...@@ -41,18 +41,6 @@ jobs: ...@@ -41,18 +41,6 @@ jobs:
run: | run: |
chmod +x ${{ github.workspace }}/raspberrypi/24.10/build.sh chmod +x ${{ github.workspace }}/raspberrypi/24.10/build.sh
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Build raspberrypi ImmortalWrt 24.10.2 - name: Build raspberrypi ImmortalWrt 24.10.2
run: | run: |
profiles="${{ github.event.inputs.profile }}" profiles="${{ github.event.inputs.profile }}"
......
...@@ -58,19 +58,7 @@ jobs: ...@@ -58,19 +58,7 @@ jobs:
exit 1 exit 1
fi fi
fi fi
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Build Gl-iNet ImmortalWrt 23.05.4 - name: Build Gl-iNet ImmortalWrt 23.05.4
run: | run: |
......
...@@ -56,20 +56,7 @@ jobs: ...@@ -56,20 +56,7 @@ jobs:
echo "Error: PPPoE account and password must be provided when PPPoE is enabled!" echo "Error: PPPoE account and password must be provided when PPPoE is enabled!"
exit 1 exit 1
fi fi
fi fi
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Build Gl-iNet ImmortalWrt 24.10.2 - name: Build Gl-iNet ImmortalWrt 24.10.2
run: | run: |
......
...@@ -71,18 +71,6 @@ jobs: ...@@ -71,18 +71,6 @@ jobs:
exit 1 exit 1
fi fi
fi fi
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Building Rockchip ImmortalWrt - name: Building Rockchip ImmortalWrt
run: | run: |
......
...@@ -92,17 +92,6 @@ jobs: ...@@ -92,17 +92,6 @@ jobs:
fi fi
fi fi
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Building Rockchip ImmortalWrt - name: Building Rockchip ImmortalWrt
run: | run: |
......
...@@ -44,18 +44,6 @@ jobs: ...@@ -44,18 +44,6 @@ jobs:
run: | run: |
chmod +x ${{ github.workspace }}/sunxi-cortexa53/build.sh chmod +x ${{ github.workspace }}/sunxi-cortexa53/build.sh
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Build sunxi-cortexa53 ImmpotalWrt 23.05.4 - name: Build sunxi-cortexa53 ImmpotalWrt 23.05.4
run: | run: |
profiles="${{ github.event.inputs.profile }}" profiles="${{ github.event.inputs.profile }}"
......
...@@ -46,18 +46,6 @@ jobs: ...@@ -46,18 +46,6 @@ jobs:
run: | run: |
chmod +x ${{ github.workspace }}/sunxi-cortexa53/build.sh chmod +x ${{ github.workspace }}/sunxi-cortexa53/build.sh
- name: Download Clash Meta, GeoIP, and GeoSite
run: |
PLATFORM="arm64"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-${PLATFORM}.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
- name: Build sunxi-cortexa53 ImmpotalWrt 24.10.2 - name: Build sunxi-cortexa53 ImmpotalWrt 24.10.2
run: | run: |
profiles="${{ github.event.inputs.profile }}" profiles="${{ github.event.inputs.profile }}"
......
...@@ -45,6 +45,22 @@ PACKAGES="$PACKAGES fdisk" ...@@ -45,6 +45,22 @@ PACKAGES="$PACKAGES fdisk"
PACKAGES="$PACKAGES script-utils" PACKAGES="$PACKAGES script-utils"
PACKAGES="$PACKAGES luci-i18n-samba4-zh-cn" PACKAGES="$PACKAGES luci-i18n-samba4-zh-cn"
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
echo "$PACKAGES" echo "$PACKAGES"
......
...@@ -48,6 +48,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then ...@@ -48,6 +48,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo "Adding package: luci-i18n-dockerman-zh-cn" echo "Adding package: luci-i18n-dockerman-zh-cn"
fi fi
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
......
...@@ -47,6 +47,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then ...@@ -47,6 +47,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo "Adding package: luci-i18n-dockerman-zh-cn" echo "Adding package: luci-i18n-dockerman-zh-cn"
fi fi
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
......
...@@ -36,6 +36,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then ...@@ -36,6 +36,21 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo "Adding package: luci-i18n-dockerman-zh-cn" echo "Adding package: luci-i18n-dockerman-zh-cn"
fi fi
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
echo "$PACKAGES" echo "$PACKAGES"
......
...@@ -39,6 +39,22 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then ...@@ -39,6 +39,22 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo "Adding package: luci-i18n-dockerman-zh-cn" echo "Adding package: luci-i18n-dockerman-zh-cn"
fi fi
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
......
...@@ -45,6 +45,23 @@ PACKAGES="$PACKAGES fdisk" ...@@ -45,6 +45,23 @@ PACKAGES="$PACKAGES fdisk"
PACKAGES="$PACKAGES script-utils" PACKAGES="$PACKAGES script-utils"
PACKAGES="$PACKAGES luci-i18n-samba4-zh-cn" PACKAGES="$PACKAGES luci-i18n-samba4-zh-cn"
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
echo "$PACKAGES" echo "$PACKAGES"
......
...@@ -90,6 +90,22 @@ PACKAGES="$PACKAGES luci-i18n-dufs-zh-cn" ...@@ -90,6 +90,22 @@ PACKAGES="$PACKAGES luci-i18n-dufs-zh-cn"
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
echo "$PACKAGES" echo "$PACKAGES"
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
make image PROFILE=$PROFILE PACKAGES="$PACKAGES" FILES="/home/build/immortalwrt/files" ROOTFS_PARTSIZE=$ROOTFS_PARTSIZE make image PROFILE=$PROFILE PACKAGES="$PACKAGES" FILES="/home/build/immortalwrt/files" ROOTFS_PARTSIZE=$ROOTFS_PARTSIZE
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
......
...@@ -38,6 +38,20 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then ...@@ -38,6 +38,20 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo "Adding package: luci-i18n-dockerman-zh-cn" echo "Adding package: luci-i18n-dockerman-zh-cn"
fi fi
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
......
...@@ -35,6 +35,20 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then ...@@ -35,6 +35,20 @@ if [ "$INCLUDE_DOCKER" = "yes" ]; then
echo "Adding package: luci-i18n-dockerman-zh-cn" echo "Adding package: luci-i18n-dockerman-zh-cn"
fi fi
# 若构建openclash 则添加内核
if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
echo "✅ 已选择 luci-app-openclash,添加 openclash core"
mkdir -p files/etc/openclash/core
# Download clash_meta
META_URL="https://raw.githubusercontent.com/vernesong/OpenClash/core/master/meta/clash-linux-arm64.tar.gz"
wget -qO- $META_URL | tar xOvz > files/etc/openclash/core/clash_meta
chmod +x files/etc/openclash/core/clash_meta
# Download GeoIP and GeoSite
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
else
echo "⚪️ 未选择 luci-app-openclash"
fi
# 构建镜像 # 构建镜像
echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:" echo "$(date '+%Y-%m-%d %H:%M:%S') - Building image with the following packages:"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment