CHIZI-0618 / box4magisk

Use sing-box, clash, v2ray, xray tunnel proxy on Android devices.
GNU General Public License v3.0
920 stars 104 forks source link

Hi, is there any script to update core itself sir. For example I need to update xray core automatically. Tks #6

Closed Thaomtam closed 1 year ago

CHIZI-0618 commented 1 year ago

Regularly execute scripts automatically using crontab

In order to get the latest xray core the following command can be used su -c '/data/adb/magisk/busybox wget https://github.com/XTLS/Xray-core/releases/latest/download/Xray-android-arm64-v8a.zip && /data/adb/magisk/busybox unzip Xray-android-arm64-v8a.zip xray -d /data/adb/box/bin/'

Thaomtam commented 1 year ago

thank you sir

Thaomtam commented 1 year ago

thank you sir

Thaomtam commented 1 year ago

I tried. And get the following error message. $ su -c '/data/adb/magisk/busybox wget https://github.com/XTLS/Xray-core/releases/latest/download/Xray-android-arm64-v8a.zip && /data/adb/magisk/busybox unzip Xray-android-arm64-v8a.zip xray -d /data/adb/box/bin/' Connecting to github.com (20.205.243.166:443) wget: note: TLS certificate validation not implemented Connecting to github.com (20.205.243.166:443) Connecting to objects.githubusercontent.com (185.199.108.133:443) wget: can't open 'Xray-android-arm64-v8a.zip': File exists ~ $

CHIZI-0618 commented 1 year ago

The file was not downloaded successfully