File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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/
8389else
8490 echo " ⚪️ 未选择 luci-app-openclash"
8591fi
Original file line number Diff line number Diff line change 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/
8894else
8995 echo " ⚪️ 未选择 luci-app-openclash"
9096fi
Original file line number Diff line number Diff line change 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/
8894else
8995 echo " ⚪️ 未选择 luci-app-openclash"
9096fi
Original file line number Diff line number Diff line change 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/
8894else
8995 echo " ⚪️ 未选择 luci-app-openclash"
9096fi
You can’t perform that action at this time.
0 commit comments