diff --git a/CHANGELOG.md b/CHANGELOG.md index cccfe65..ce158a5 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,13 @@ -#### ⟳ Changelog v0.5.1 -+ **remove the selection to create the DNS resolve.conf file**. [#3 (comment)](https://github.com/taamarin/box_for_magisk/issues/3#issuecomment-1475454926) -+ **add force stop `${bin_name}`.** if stubborn -+ **`kill $(pidof ${bin}`) is replaced with `pkill ${bin}`.** +#### ⟳ Changelog v0.6 ++ increase time on boot ++ add: sing-box multiple configuration support ++ fix the tun_device retrieval in the sing-box config. ++ add: disable/enable quic using iptables.tproxy rules. >>>> settings.ini ++ update: yacd (displays update core / restart clash) ++ adjust kernel update: + + clash-meta: change using the official clash.meta tag-alpha url. + + sing-box: option to download Singbox kernel beta or release -#### ⟳ Changelog v0.5 -+ **fix log** -+ **improve cgroup:** cgroups are automatically disabled if the phone's kernel doesn't support it -+ **added arm8l arch support for kernel updates** -+ **improve bfm scripts:** will take the value of the `clash tun_device: utun`, `sing-box tun_device: tun0`, `clash_fake_ip_range: 198.18.0.1/16`, `clash_enhanced_mode: fake-ip`, `clash_dns_port: 1053`, `external-ui: ./dashboard/dist`, `tproxy-port: $tproxy_port` and `redir-port: $redir_port` variable, as default if not confirmed in the YAML / JSON config +**Full Changelog**: https://github.com/taamarin/box_for_magisk/compare/v0.5.1...v0.6 [README](https://github.com/taamarin/box_for_magisk/blob/master/README.md) \ No newline at end of file diff --git a/module.prop b/module.prop index ddd805f..b8bd8c6 100755 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=box_for_magisk name=Box for Magisk -version=v0.5.1 -versionCode=20230321 +version=v0.6 +versionCode=20230330 author=t@amarin description=use sing-box, clash, v2ray, and xray for tunnel proxy on android device updateJson=https://github.com/taamarin/box_for_magisk/raw/master/update.json \ No newline at end of file diff --git a/scripts/src/box.tool b/scripts/src/box.tool index 6544467..979ed66 100755 --- a/scripts/src/box.tool +++ b/scripts/src/box.tool @@ -252,7 +252,8 @@ update_kernel() { if [ "${meta}" = "true" ]; then # set download link and get the latest version download_link="https://github.com/MetaCubeX/Clash.Meta/releases" - tag=$(wget --no-check-certificate -qO- ${download_link} | grep -oE 'tag\/([^"]+)' | cut -d '/' -f 2 | head -1) + # tag=$(wget --no-check-certificate -qO- ${download_link} | grep -oE 'tag\/([^"]+)' | cut -d '/' -f 2 | head -1) + tag="Prerelease-Alpha" latest_version=$(wget --no-check-certificate -qO- "${download_link}/expanded_assets/${tag}" | grep -oE "alpha-[0-9a-z]+" | head -1) # set the filename based on platform and architecture filename="clash.meta-${platform}-${arch}" @@ -337,7 +338,7 @@ update_kernel() { v2fly|xray) [ "${bin_name}" = "xray" ] && bin='xray' || bin='v2ray' unzip_command=$(command -v unzip >/dev/null 2>&1 && echo "unzip" || echo "${busybox_path} unzip") - if ${unzip_command} -o "${data_dir}/${file_kernel}.zip" "v2ray" -d "${bin_kernel}" >&2; then + if ${unzip_command} -o "${data_dir}/${file_kernel}.zip" "${bin}" -d "${bin_kernel}" >&2 ; then if mv "${bin_kernel}/${bin}" "${bin_kernel}/${bin_name}"; then [ -f "${pid_file}" ] && restart_box || log debug "${bin_name} does not need to be restarted" else diff --git a/update.json b/update.json index e1cd332..2c1d19e 100755 --- a/update.json +++ b/update.json @@ -1,6 +1,6 @@ { - "version": "v0.5.1", - "versionCode": "20230321", - "zipUrl": "https://github.com/taamarin/box_for_magisk/releases/download/v0.5.1/box_for_magisk-v0.5.1.zip", + "version": "v0.6", + "versionCode": "20230330", + "zipUrl": "https://github.com/taamarin/box_for_magisk/releases/download/v0.6/box_for_magisk-v0.6.zip", "changelog": "https://github.com/taamarin/box_for_magisk/raw/master/CHANGELOG.md" } \ No newline at end of file