This commit is contained in:
github-actions[bot]
2023-10-16 11:12:57 +00:00
committed by taamarin
parent f4a75fb1e0
commit e4e77b8906
3 changed files with 8 additions and 8 deletions

View File

@@ -421,12 +421,12 @@ box_cgroup() {
if ${scripts_dir}/box.tool "${cgroup_attr}"; then
true
else
log_warning "failed to enable ${cgroup_attr} for ${bin_name}."
log_warning "cgroups ${cgroup_attr} is turned off"
log Warning "failed to enable ${cgroup_attr} for ${bin_name}."
log Warning "cgroups ${cgroup_attr} is turned off"
sed -i -E "/cgroup_${cgroup_attr}/ s/(true)/false/" "${settings}"
fi
else
log_info "${bin_name} cgroup_${cgroup_attr}: ${cgroup_value}"
log Info "${bin_name} cgroup_${cgroup_attr}: ${cgroup_value}"
fi
}
set_cgroup_config "memcg" "${cgroup_memcg}"

View File

@@ -1,7 +1,7 @@
id=box_for_root
name=Box for Magisk/KernelSU
version=v1.3.0
versionCode=20230814
version=v1.4.0
versionCode=20231016
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

@@ -1,6 +1,6 @@
{
"version": "v1.3.0",
"versionCode": "20230814",
"zipUrl": "https://github.com/taamarin/box_for_magisk/releases/download/v1.3.0/box_for_root-v1.3.0.zip",
"version": "v1.4.0",
"versionCode": "20231016",
"zipUrl": "https://github.com/taamarin/box_for_magisk/releases/download/v1.4.0/box_for_root-v1.4.0.zip",
"changelog": "https://github.com/taamarin/box_for_magisk/raw/master/CHANGELOG.md"
}