Fix issue #4 and #5 and add some additional online game domains#6
Open
warksu wants to merge 6 commits into
Open
Fix issue #4 and #5 and add some additional online game domains#6warksu wants to merge 6 commits into
warksu wants to merge 6 commits into
Conversation
add: ||plantsvszombiesfusion.com^ ||wan1234.com^ ||bloxd.io^ ||heheda.cn^ ||moe.ms^ ||cg.163.com^
add: platoapp.com playtropolis.com arcadrome.com fixed issue Mafraysse#4 and Mafraysse#5 on https://github.com/Mafraysse/AdGuard_GameList-Filter/issues
baidu.com is a search engine, not game site
Preserve fork-only domain changes by migrating them to upstream's new raw/adguard/mobileconfig layout.
将 github.io 从原始域名列表、AdGuard 规则列表和 Apple mobileconfig 中一并移除。\n\nTested:\n- rg -n '^github\.io$' Domain_list_raw.txt || true\n- rg -n '^\|\|github\.io\^$' AdGuard_games_streaming_social_list.txt || true\n- rg -n '<string>https://github\.io</string>|<string>http://github\.io</string>' GamesStreamingSocialFilter_Apple.mobileconfig || true\n- printf 'raw=%s adguard=%s mobileconfig_https=%s\n' "4660" "4625" "4660"
修复 remove_domain.sh 和 check_urls.sh 在 GNU sed 环境下的删除兼容性问题,并消除删除成功的假阳性。\n\n- 改为基于 awk + 临时文件的精确行删除\n- 删除前使用精确匹配,避免子串误判\n- 在删除失败或回写失败时明确报错并退出\n- 失败时清理临时文件\n\nTested:\n- bash -n remove_domain.sh check_urls.sh\n- 临时目录中精确删除 github.io,确认目标行消失且 keep.example 保留\n- 临时目录中删除 github.io 时仅存在 bamanzi.github.io,确认脚本报告未找到且文件不变\n- 临时目录中 mock wget,确认 check_urls.sh 会删除 bad.example 并保留 good.example\n- 临时目录中制造目录不可写,确认 check_urls.sh 在回写失败时非零退出并输出失败信息
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
platoapp.com
playtropolis.com
arcadrome.com
additional:
||plantsvszombiesfusion.com^
||wan1234.com^
||bloxd.io^
||heheda.cn^
||moe.ms^
||cg.163.com^