update-01.31

This commit is contained in:
github-actions[bot] 2022-01-31 20:30:27 +08:00
parent d8b990d110
commit 26864d9bb6
2 changed files with 6 additions and 4 deletions

View File

@ -109,11 +109,13 @@ lens.l.google.com
stun.l.google.com
#Netflix
+.nflxvideo.net
#FinalFantasy XIV
#FinalFantasy XIV Worldwide Server & CN Server
*.square-enix.com
*.finalfantasyxiv.com
*.ffxiv.com
*.ff14.sdo.com
ff.dorado.sdo.com
#Bilibili
*.mcdn.bilivideo.cn
#Disney Plus
+.media.dssott.com
+.media.dssott.com

View File

@ -157,7 +157,7 @@ config_cus_up()
config_su_check()
{
LOG_OUT "Config File Download Successful, Check If There is Any Update..."
sed -i 's/!<str> //g' "$CFG_FILE" >/dev/null 2>&1
sed -i 's/!<str> /!!str /g' "$CFG_FILE" >/dev/null 2>&1
if [ -f "$CONFIG_FILE" ]; then
cmp -s "$BACKPACK_FILE" "$CFG_FILE"
if [ "$?" -ne 0 ]; then
@ -524,4 +524,4 @@ else
[ "$(uci -q get openclash.config.auto_update)" -eq 1 ] && [ "$(uci -q get openclash.config.config_auto_update_mode)" -ne 1 ] && echo "0 $(uci -q get openclash.config.auto_update_time) * * $(uci -q get openclash.config.config_update_week_time) /usr/share/openclash/openclash.sh" >> $CRON_FILE
/etc/init.d/cron restart
fi
del_lock
del_lock