feat: update Block OTA update for iOS and iPadOS

pull/273/head
Conners Hua 3 years ago
parent 84fd0b4b04
commit 902a9930ff

@ -199,8 +199,8 @@ static=StreamingSE, direct, proxy, img-url=https://raw.githubusercontent.com/Koo
# 当有强制策略时,远程资源的过滤器中的策略将被忽略,并使用强制策略。
#
# Block OTA Update 屏蔽 iOS 系统更新
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/SoftwareUpdate.sgmodule, tag=⛔Block OTA Update, force-policy=reject, update-interval=172800, opt-parser=true, enabled=false
# Block OTA update for iOS
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/SoftwareUpdate.sgmodule, tag=⛔Block OTA Update(iOS), force-policy=reject, update-interval=172800, opt-parser=true, enabled=false
# Unbreak 后续规则修正
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Unbreak.list, tag=🔂Unbreak, force-policy=direct, update-interval=172800, opt-parser=true, enabled=true
@ -250,6 +250,9 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Chi
# General
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf, tag=🔀General, update-interval=172800, enabled=true
# Block OTA update for iPadOS, Requires "⛔Block OTA Update(iOS)" filter
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/SoftwareUpdate.sgmodule, tag=⛔Block OTA Update(iPadOS), update-interval=172800, opt-parser=true, enabled=false
# Block Advertising
https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/Block/Advertising.conf, tag=🛡Block Advertising, update-interval=172800, enabled=true

@ -1,9 +1,13 @@
#!name=Block iOS Software Update
#!desc=屏蔽 iOS 系统更新
#!name=Block OTA update for iOS and iPadOS
#!desc=屏蔽 iOS/iPadOS 系统更新,无 iPad 设备可在「主机名」添加「-mesu.apple.com」
#!system=ios
[Rule]
DOMAIN,mesu.apple.com,REJECT
DOMAIN,gdmf.apple.com,REJECT
DOMAIN,updates-http.cdn-apple.com,REJECT
DOMAIN,xp.apple.com,REJECT
[URL Rewrite]
# iPadOS
^https:\/\/mesu\.apple\.com\/assets\/com_apple_MobileAsset_SoftwareUpdate\/com_apple_MobileAsset_SoftwareUpdate\.xml - reject
[MITM]
hostname = %APPEND% mesu.apple.com
Loading…
Cancel
Save