Skip to content

Commit 1d4a85d

Browse files
committed
update: refer to changelog
1 parent 33bb998 commit 1d4a85d

File tree

10 files changed

+115
-69
lines changed

10 files changed

+115
-69
lines changed

changelog.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
# Changelog
22

3-
- 此次更新必须选择 不保留配置!!!
4-
- 修复语言无法被识别为英文的问题
5-
- 为 iptables 添加了更多日志
6-
- 将 setting.conf 的函数分离出来,便于后续更新
7-
- This update requires selecting "Do not retain configuration"!
8-
- Fixed an issue where the language could not be recognized as English
9-
- Added more logs for iptables
10-
- Separated the functions of `setting.conf` for easier future updates
3+
- 更新 AdGuardHome 至 v0.107.62
4+
- update AdGuardHome to v0.107.62
5+
- 出于安全考虑,还是加回了 `--no-check-update` 参数
6+
- For security reasons, the `--no-check-update` parameter has been added back
7+
- 由于 WebUI 在多种管理器下表现不一致,还是添加回了 `webroot` 文件夹
8+
- Since the WebUI behaves inconsistently across different managers, the `webroot` folder has been added back
9+
- 例行更新广告规则
10+
- Routine update of ad rules
11+
- 文档目前还在完善中,欢迎 PR
12+
- The documentation is still being improved, PRs are welcome

pack.ps1

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ foreach ($url in $UrlWitchCachePath.Keys) {
5757

5858
# 给项目打包,使用 7-Zip 压缩 zip
5959
Write-Host "Packing AdGuardHome..."
60-
$7z = "C:\Program Files\7-Zip\7z.exe"
6160
$OutputPathArm64 = "$CacheDir\AdGuardHomeForRoot_arm64.zip"
6261
$OutputPathArmv7 = "$CacheDir\AdGuardHomeForRoot_armv7.zip"
6362
if (Test-Path -Path $OutputPathArm64) {
@@ -71,25 +70,25 @@ if (Test-Path -Path $OutputPathArmv7) {
7170
$ProjectRoot = "$PSScriptRoot\src"
7271

7372
# pack arm64
74-
& $7z a -tzip $OutputPathArm64 "$ProjectRoot\*.sh"
75-
& $7z a -tzip $OutputPathArm64 "$ProjectRoot\settings.conf"
76-
& $7z a -tzip $OutputPathArm64 "$ProjectRoot\module.prop"
77-
& $7z a -tzip $OutputPathArm64 "$ProjectRoot\META-INF"
78-
& $7z a -tzip $OutputPathArm64 "$ProjectRoot\scripts"
79-
& $7z a -tzip $OutputPathArm64 "$ProjectRoot\webroot"
80-
& $7z a -tzip $OutputPathArm64 "$ProjectRoot\bin\"
81-
& $7z a -tzip $OutputPathArm64 "$CacheDir\arm64\AdGuardHome\AdGuardHome"
82-
& $7z rn $OutputPathArm64 "AdGuardHome" "bin/AdGuardHome"
73+
7z a -tzip $OutputPathArm64 "$ProjectRoot\*.sh"
74+
7z a -tzip $OutputPathArm64 "$ProjectRoot\settings.conf"
75+
7z a -tzip $OutputPathArm64 "$ProjectRoot\module.prop"
76+
7z a -tzip $OutputPathArm64 "$ProjectRoot\META-INF"
77+
7z a -tzip $OutputPathArm64 "$ProjectRoot\scripts"
78+
7z a -tzip $OutputPathArm64 "$ProjectRoot\webroot"
79+
7z a -tzip $OutputPathArm64 "$ProjectRoot\bin\"
80+
7z a -tzip $OutputPathArm64 "$CacheDir\arm64\AdGuardHome\AdGuardHome"
81+
7z rn $OutputPathArm64 "AdGuardHome" "bin/AdGuardHome"
8382

8483
# pack armv7
85-
& $7z a -tzip $OutputPathArmv7 "$ProjectRoot\*.sh"
86-
& $7z a -tzip $OutputPathArmv7 "$ProjectRoot\settings.conf"
87-
& $7z a -tzip $OutputPathArmv7 "$ProjectRoot\module.prop"
88-
& $7z a -tzip $OutputPathArmv7 "$ProjectRoot\META-INF"
89-
& $7z a -tzip $OutputPathArmv7 "$ProjectRoot\scripts"
90-
& $7z a -tzip $OutputPathArmv7 "$ProjectRoot\webroot"
91-
& $7z a -tzip $OutputPathArmv7 "$ProjectRoot\bin\"
92-
& $7z a -tzip $OutputPathArmv7 "$CacheDir\armv7\AdGuardHome\AdGuardHome"
93-
& $7z rn $OutputPathArmv7 "AdGuardHome" "bin/AdGuardHome"
84+
7z a -tzip $OutputPathArmv7 "$ProjectRoot\*.sh"
85+
7z a -tzip $OutputPathArmv7 "$ProjectRoot\settings.conf"
86+
7z a -tzip $OutputPathArmv7 "$ProjectRoot\module.prop"
87+
7z a -tzip $OutputPathArmv7 "$ProjectRoot\META-INF"
88+
7z a -tzip $OutputPathArmv7 "$ProjectRoot\scripts"
89+
7z a -tzip $OutputPathArmv7 "$ProjectRoot\webroot"
90+
7z a -tzip $OutputPathArmv7 "$ProjectRoot\bin\"
91+
7z a -tzip $OutputPathArmv7 "$CacheDir\armv7\AdGuardHome\AdGuardHome"
92+
7z rn $OutputPathArmv7 "AdGuardHome" "bin/AdGuardHome"
9493

9594
Write-Host "Packing completed successfully."

src/bin/AdGuardHome.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dns:
5252
enable_dnssec: false
5353
edns_client_subnet:
5454
custom_ip: ""
55-
enabled: false
55+
enabled: true
5656
use_custom: false
5757
max_goroutines: 300
5858
handle_ddr: true
@@ -61,7 +61,7 @@ dns:
6161
bootstrap_prefer_ipv6: false
6262
upstream_timeout: 10s
6363
private_networks: []
64-
use_private_ptr_resolvers: false
64+
use_private_ptr_resolvers: true
6565
local_ptr_upstreams: []
6666
use_dns64: false
6767
dns64_prefixes: []
@@ -104,7 +104,9 @@ filters:
104104
name: AWAvenue
105105
id: 1732747955
106106
whitelist_filters: []
107-
user_rules: []
107+
user_rules:
108+
- '@@||sdk-api.beizi.biz^$important'
109+
- ""
108110
dhcp:
109111
enabled: false
110112
interface_name: ""
@@ -148,7 +150,7 @@ filtering:
148150
safesearch_cache_size: 1048576
149151
parental_cache_size: 1048576
150152
cache_time: 30
151-
filters_update_interval: 24
153+
filters_update_interval: 72
152154
blocked_response_ttl: 10
153155
filtering_enabled: true
154156
parental_enabled: false

0 commit comments

Comments
 (0)