-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
33 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
ui_print " -------------------------- " | ||
ui_print " ------ 安装中,请稍等 ------ " | ||
|
||
if [ "$ARCH" != "arm64" ]; then | ||
ui_print " 仅支持arm64架构,安装失败 " | ||
ui_print "仅支持arm64架构,安装失败" | ||
exit 1 | ||
fi | ||
|
||
ui_print " ----- 安装已完成,请重启 ---- " | ||
ui_print " -------------------------- " | ||
ADG_DIR="$MODPATH/bin" | ||
chmod 777 "$ADG_DIR/AdGuardHome" | ||
# TODO: 研究用户组对程序运行有什么影响 | ||
chgrp net_raw "$ADG_DIR/AdGuardHome" | ||
chgrp net_raw "$ADG_DIR/AdGuardHome.yaml" | ||
|
||
ui_print "安装成功" |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
id=AdGuardHome | ||
name=AdGuardHome for Magisk | ||
version=20231218 | ||
versionCode=6 | ||
version=20231219 | ||
versionCode=7 | ||
author=twoone3 | ||
description=通过DNS层面过滤广告、防DNS劫持,后台地址http://127.0.0.1:3000,用户名/密码root |
This file contains 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