fix typo box.tool
This commit is contained in:
sheynsw
2023-03-30 23:17:59 +07:00
parent 02132d0bdf
commit 61338912e4
4 changed files with 18 additions and 16 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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

View File

@@ -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"
}