Skip to content

Commit 2197e5d

Browse files
authored
sync openclash ipk latest 24.10
1 parent 69daf1e commit 2197e5d

7 files changed

Lines changed: 49 additions & 0 deletions

File tree

‎armsr-armv8/build.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
8383
# Download GeoIP and GeoSite
8484
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
8585
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
86+
# Download latest openclash Client
87+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
88+
| grep "browser_download_url.*ipk" \
89+
| head -n1 \
90+
| cut -d '"' -f 4)
91+
echo "OpenClash latest ipk: $URL"
92+
wget "$URL" -P /home/build/immortalwrt/packages/
8693
else
8794
echo "⚪️ 未选择 luci-app-openclash"
8895
fi

‎mediatek-filogic/build24.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
8989
# Download GeoIP and GeoSite
9090
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
9191
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
92+
# Download latest openclash Client
93+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
94+
| grep "browser_download_url.*ipk" \
95+
| head -n1 \
96+
| cut -d '"' -f 4)
97+
echo "OpenClash latest ipk: $URL"
98+
wget "$URL" -P /home/build/immortalwrt/packages/
9299
else
93100
echo "⚪️ 未选择 luci-app-openclash"
94101
fi

‎n1/build.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
7070
# Download GeoIP and GeoSite
7171
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
7272
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
73+
# Download latest openclash Client
74+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
75+
| grep "browser_download_url.*ipk" \
76+
| head -n1 \
77+
| cut -d '"' -f 4)
78+
echo "OpenClash latest ipk: $URL"
79+
wget "$URL" -P /home/build/immortalwrt/packages/
7380
else
7481
echo "⚪️ 未选择 luci-app-openclash"
7582
fi

‎raspberrypi/24.10/build.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
100100
# Download GeoIP and GeoSite
101101
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
102102
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
103+
# Download latest openclash Client
104+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
105+
| grep "browser_download_url.*ipk" \
106+
| head -n1 \
107+
| cut -d '"' -f 4)
108+
echo "OpenClash latest ipk: $URL"
109+
wget "$URL" -P /home/build/immortalwrt/packages/
103110
else
104111
echo "⚪️ 未选择 luci-app-openclash"
105112
fi

‎rockchip/build24.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
9090
# Download GeoIP and GeoSite
9191
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
9292
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
93+
# Download latest openclash Client
94+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
95+
| grep "browser_download_url.*ipk" \
96+
| head -n1 \
97+
| cut -d '"' -f 4)
98+
echo "OpenClash latest ipk: $URL"
99+
wget "$URL" -P /home/build/immortalwrt/packages/
93100
else
94101
echo "⚪️ 未选择 luci-app-openclash"
95102
fi

‎sunxi-cortexa53/build24.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
7474
# Download GeoIP and GeoSite
7575
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
7676
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
77+
# Download latest openclash Client
78+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
79+
| grep "browser_download_url.*ipk" \
80+
| head -n1 \
81+
| cut -d '"' -f 4)
82+
echo "OpenClash latest ipk: $URL"
83+
wget "$URL" -P /home/build/immortalwrt/packages/
7784
else
7885
echo "⚪️ 未选择 luci-app-openclash"
7986
fi

‎x86-64/build24.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
8484
# Download GeoIP and GeoSite
8585
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
8686
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
87+
# Download latest openclash Client
88+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
89+
| grep "browser_download_url.*ipk" \
90+
| head -n1 \
91+
| cut -d '"' -f 4)
92+
echo "OpenClash latest ipk: $URL"
93+
wget "$URL" -P /home/build/immortalwrt/packages/
8794
else
8895
echo "⚪️ 未选择 luci-app-openclash"
8996
fi

0 commit comments

Comments
 (0)