diff --git a/luci-app-autoupdate/root/etc/init.d/autoupdate b/luci-app-autoupdate/root/etc/init.d/autoupdate index beb23482..1ad2c3ff 100755 --- a/luci-app-autoupdate/root/etc/init.d/autoupdate +++ b/luci-app-autoupdate/root/etc/init.d/autoupdate @@ -18,8 +18,10 @@ run_autoupdate() sed -i '/AutoUpdate/d' /etc/crontabs/root >/dev/null 2>&1 fi if [ -f /bin/AutoUpdate.sh ] && [ -f /bin/openwrt_info ];then - custom_github_url="$(uci get autoupdate.@login[0].github)" - current_github_url="$(grep Github= /bin/openwrt_info | cut -c8-100)" + cus_url="$(uci get autoupdate.@login[0].github)" + ApAuthor="${cus_url%.git}" + custom_github_url="${ApAuthor##*com/}" + current_github_url="$(grep Warehouse= /bin/openwrt_info | cut -d "=" -f2)" [[ -n "${custom_github_url}" ]] && { [[ "${custom_github_url}" != "${current_github_url}" ]] && { sed -i "s?${current_github_url}?${custom_github_url}?g" /bin/openwrt_info diff --git a/luci-app-openclash/root/etc/openclash/custom/openclash_custom_fake_filter.list b/luci-app-openclash/root/etc/openclash/custom/openclash_custom_fake_filter.list index 41c018b5..0fcfd811 100644 --- a/luci-app-openclash/root/etc/openclash/custom/openclash_custom_fake_filter.list +++ b/luci-app-openclash/root/etc/openclash/custom/openclash_custom_fake_filter.list @@ -123,3 +123,5 @@ ff.dorado.sdo.com *.mcdn.bilivideo.cn #Disney Plus +.media.dssott.com +#shark007 Codecs +shark007.net