Open maxfun0 opened 5 months ago
需要去配置文件里面改,加上 -0,999,999是双开用户的
就是加了无效啊,难道格式和box4magisk不一样?
find_packages_uid() { echo -n "" > "${uid_list}" for package in "${packages_list[@]}"; do busybox awk -v p="${package}" '$1~p{print $2}' "${system_packages_file}" >> "${uid_list}" done for package_999 in "${packages_list_999[@]}"; do busybox awk -v p="${package_999}" '$1~p{print $2}' "${system_packages_file}" | while read line ; do if [[ -n "${line}" ]]; then uid999=$((line + 99900000)) echo $uid999 >> "${uid_list}" fi done done busybox sort "${uid_list}"|busybox uniq|busybox tail -n +2 > /data/adb/box/run/test_uid.txt busybox sort -r /data/adb/box/run/test_uid.txt -o "${uid_list}" rm /data/adb/box/run/test_uid.txt }
替换box.iptables里边的函数 在settings.ini里加package_999
tproxy模式开启黑白名单,双开的应用无法生效,box4magisk可以添加双开的应用到黑白名单,希望能够支持