Skip to content

Commit 69daf1e

Browse files
authored
sync openclash latest 25.12
1 parent 78c253a commit 69daf1e

4 files changed

Lines changed: 28 additions & 4 deletions

File tree

‎mediatek-filogic/build25.sh‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ else
1414
cp -r /tmp/store-apk-repo/run/arm64/* /home/build/immortalwrt/extra-packages/
1515

1616
echo "✅ Run files copied to extra-packages:"
17-
ls -lh /home/build/immortalwrt/extra-packages/*.run
1817
# 解压并拷贝apk到packages目录
1918
sh shell/apk-prepare-packages.sh
2019
ls -lah /home/build/immortalwrt/packages/
@@ -80,6 +79,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
8079
# Download GeoIP and GeoSite
8180
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
8281
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat -O files/etc/openclash/GeoSite.dat
82+
# Download latest openclash Client
83+
URL=$(curl -s https://api.github.com/repos/vernesong/OpenClash/releases/latest \
84+
| grep "browser_download_url.*apk" \
85+
| head -n1 \
86+
| cut -d '"' -f 4)
87+
echo "OpenClash latest apk: $URL"
88+
wget "$URL" -P /home/build/immortalwrt/packages/
8389
else
8490
echo "⚪️ 未选择 luci-app-openclash"
8591
fi

‎rockchip/build25.sh‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ else
3535
cp -r /tmp/store-apk-repo/run/arm64/* /home/build/immortalwrt/extra-packages/
3636

3737
echo "✅ Run files copied to extra-packages:"
38-
ls -lh /home/build/immortalwrt/extra-packages/*.run
3938
# 解压并拷贝apk到packages目录
4039
sh shell/apk-prepare-packages.sh
4140
ls -lah /home/build/immortalwrt/packages/
@@ -85,6 +84,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
8584
# Download GeoIP and GeoSite
8685
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
8786
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.*apk" \
90+
| head -n1 \
91+
| cut -d '"' -f 4)
92+
echo "OpenClash latest apk: $URL"
93+
wget "$URL" -P /home/build/immortalwrt/packages/
8894
else
8995
echo "⚪️ 未选择 luci-app-openclash"
9096
fi

‎sunxi-cortexa53/build25.sh‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ else
3535
cp -r /tmp/store-apk-repo/run/arm64/* /home/build/immortalwrt/extra-packages/
3636

3737
echo "✅ Run files copied to extra-packages:"
38-
ls -lh /home/build/immortalwrt/extra-packages/*.run
3938
# 解压并拷贝apk到packages目录
4039
sh shell/apk-prepare-packages.sh
4140
ls -lah /home/build/immortalwrt/packages/
@@ -85,6 +84,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
8584
# Download GeoIP and GeoSite
8685
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
8786
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.*apk" \
90+
| head -n1 \
91+
| cut -d '"' -f 4)
92+
echo "OpenClash latest apk: $URL"
93+
wget "$URL" -P /home/build/immortalwrt/packages/
8894
else
8995
echo "⚪️ 未选择 luci-app-openclash"
9096
fi

‎x86-64/build25.sh‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ else
3434
cp -r /tmp/store-apk-repo/run/x86/* /home/build/immortalwrt/extra-packages/
3535

3636
echo "✅ Run files copied to extra-packages:"
37-
ls -lh /home/build/immortalwrt/extra-packages/*.run
3837
# 解压并拷贝apk到packages目录
3938
sh shell/apk-prepare-packages.sh
4039
ls -lah /home/build/immortalwrt/packages/
@@ -85,6 +84,13 @@ if echo "$PACKAGES" | grep -q "luci-app-openclash"; then
8584
# Download GeoIP and GeoSite
8685
wget -q https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat -O files/etc/openclash/GeoIP.dat
8786
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.*apk" \
90+
| head -n1 \
91+
| cut -d '"' -f 4)
92+
echo "OpenClash latest apk: $URL"
93+
wget "$URL" -P /home/build/immortalwrt/packages/
8894
else
8995
echo "⚪️ 未选择 luci-app-openclash"
9096
fi

0 commit comments

Comments
 (0)