使用GitHub Actions每日自动更新fancyss规则
-
进入路由器SSH,运行以下命令会自动将
ss_rule_update
脚本中的url_main
参数指向我的仓库(二选一即可): -
sed -i 's/^\turl_main.*/\turl_main="https:\/\/raw.githubusercontent.com\/zlhdd108\/Actions\/master\/fancyss_rules"/g' /koolshare/scripts/ss_rule_update.sh
-
新版本插件(hq450 3.0.3以上)使用下面这个:
sed -i 's/^\turl_main.*/\turl_main="https:\/\/raw.githubusercontent.com\/zlhdd108\/Actions\/master\/fancyss_3.0_rules\/rules"/g' /koolshare/scripts/ss_rule_update.sh
-
x86版本fancyss插件请自行找到更新规则的脚本并替换
url_main
参数