Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
410154425 authored Sep 6, 2023
1 parent e0de97b commit 36e7798
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions customize.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ui_print " -------------------------- "
ui_print " ------ 安装中,请稍等 ------ "
sleep 1
cp "$MODPATH/module.prop" "$MODPATH/t_module"
if [ "$IS64BIT" = 'true' ]; then
cp "$MODPATH/linux_arm64/AdGuardHome" "$MODPATH/AdGuardHome" > /dev/null 2>&1
ui_print " -------------------------- "
Expand Down
4 changes: 4 additions & 0 deletions service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ echo "am start -n com.tencent.mm/.plugin.webview.ui.tools.WebViewUI -d https://p
echo "echo \"\"" >> "$MODDIR/.投币捐赠.sh"
echo "echo \"正在跳转AdHome模块捐赠页面,请稍等。。。\"" >> "$MODDIR/.投币捐赠.sh"
chmod 0755 "$MODDIR/.投币捐赠.sh"
if [ -f "$MODDIR/t_module" -a "$(cat "$MODDIR/module.prop" | egrep '^#by topdalao' | sed -n '$p')" != '#by topdalao' ]; then
cp "$MODDIR/t_module" "$MODDIR/module.prop"
chmod 0644 "$MODDIR/module.prop"
fi
"$MODDIR/AdGuardHome" > /dev/null 2>&1 &
up=1
while true ; do
Expand Down

0 comments on commit 36e7798

Please sign in to comment.