mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 03:32:34 +08:00
v1.8.2i
~修复部分小米设备开机启动失败的bug ~修复自定义规则无法正确删除的bug ~修复安装时提示找不到task.sh文件的bug ~修复部分小米设备重启后依然需要输入clash命令的bug
This commit is contained in:
parent
4d66cbbf0e
commit
61936e3c3f
Binary file not shown.
Binary file not shown.
|
@ -278,7 +278,7 @@ setrules(){
|
|||
0) ;;
|
||||
'') ;;
|
||||
*)
|
||||
text=$(cat $YAMLSDIR/rules.yaml | grep -Ev '^#' | sed -n "$num p")
|
||||
text=$(cat $YAMLSDIR/rules.yaml | grep -Ev '^#' | sed -n "$num p" | awk '{print $2}')
|
||||
if [ -n $text ];then
|
||||
sed -i "/$text/d" $YAMLSDIR/rules.yaml
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user