v1.8.7b
~修复任务列表显示 ~修复小闪存模式singbox运行命令出错的bug
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,4 +5,4 @@ meta_v=v1.18.0
|
|||||||
|
|
||||||
singbox_v=1.8.0
|
singbox_v=1.8.0
|
||||||
GeoIP_v=20240107
|
GeoIP_v=20240107
|
||||||
versionsh=1.8.7
|
versionsh=1.8.7b
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) Juewuy
|
# Copyright (C) Juewuy
|
||||||
|
|
||||||
version=1.8.7
|
version=1.8.7b
|
||||||
|
|
||||||
setdir(){
|
setdir(){
|
||||||
dir_avail(){
|
dir_avail(){
|
||||||
|
|||||||
@@ -1410,9 +1410,12 @@ core_check(){
|
|||||||
chmod +x ${BINDIR}/core.new 2>/dev/null
|
chmod +x ${BINDIR}/core.new 2>/dev/null
|
||||||
if [ "$crashcore" = singbox ];then
|
if [ "$crashcore" = singbox ];then
|
||||||
core_v=$(${TMPDIR}/core.new version 2>/dev/null | grep version | awk '{print $3}')
|
core_v=$(${TMPDIR}/core.new version 2>/dev/null | grep version | awk '{print $3}')
|
||||||
|
COMMAND='"$BINDIR/CrashCore run -D $BINDIR -c $TMPDIR/config.json"'
|
||||||
else
|
else
|
||||||
core_v=$(${TMPDIR}/core.new -v 2>/dev/null | sed 's/ linux.*//;s/.* //')
|
core_v=$(${TMPDIR}/core.new -v 2>/dev/null | sed 's/ linux.*//;s/.* //')
|
||||||
|
COMMAND='"$BINDIR/CrashCore -d $BINDIR -f $TMPDIR/config.yaml"'
|
||||||
fi
|
fi
|
||||||
|
setconfig COMMAND "$COMMAND" ${CRASHDIR}/configs/command.env
|
||||||
if [ -z "$core_v" ];then
|
if [ -z "$core_v" ];then
|
||||||
rm -rf ${TMPDIR}/core.new
|
rm -rf ${TMPDIR}/core.new
|
||||||
logger "核心下载失败,请重新运行或更换安装源!" 31
|
logger "核心下载失败,请重新运行或更换安装源!" 31
|
||||||
|
|||||||
Reference in New Issue
Block a user