Skip to content

Fix issue #4 and #5 and add some additional online game domains#6

Open
warksu wants to merge 6 commits into
Mafraysse:mainfrom
warksu:main
Open

Fix issue #4 and #5 and add some additional online game domains#6
warksu wants to merge 6 commits into
Mafraysse:mainfrom
warksu:main

Conversation

@warksu

@warksu warksu commented Mar 24, 2026

Copy link
Copy Markdown

platoapp.com
playtropolis.com
arcadrome.com

additional:
||plantsvszombiesfusion.com^
||wan1234.com^
||bloxd.io^
||heheda.cn^
||moe.ms^
||cg.163.com^

warksu added 6 commits March 24, 2026 22:13
add:
||plantsvszombiesfusion.com^
||wan1234.com^
||bloxd.io^
||heheda.cn^
||moe.ms^
||cg.163.com^
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 在回写失败时非零退出并输出失败信息
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant