This commit is contained in:
bluemeda 2019-04-29 15:56:39 +07:00
parent 4a828e1df6
commit bc007fbf63
5 changed files with 11 additions and 7 deletions

View File

@ -34,6 +34,8 @@ Just flash and forget.
- For more detailed configuration please refer to [official documentation](https://github.com/jedisct1/dnscrypt-proxy/wiki/Configuration) - For more detailed configuration please refer to [official documentation](https://github.com/jedisct1/dnscrypt-proxy/wiki/Configuration)
## Changelog ## Changelog
### v2.8.2
- Fix "binary file is missing"
### v2.8.1 ### v2.8.1
- Update Magisk 18100 requirements - Update Magisk 18100 requirements
### v2.8.0 ### v2.8.0

View File

@ -1,5 +1,7 @@
# Changelog # Changelog
## Changelog ## Changelog
### v2.8.2
- Fix "binary file is missing"
### v2.8.1 ### v2.8.1
- Update Magisk 18100 requirements - Update Magisk 18100 requirements
### v2.8.0 ### v2.8.0

4
common/install.sh → common/option.sh Normal file → Executable file
View File

@ -40,7 +40,7 @@ chooseportold() {
} }
# Keycheck binary by someone755 @Github, idea for code below by Zappo @xda-developers # Keycheck binary by someone755 @Github, idea for code below by Zappo @xda-developers
KEYCHECK=$TMPDIR/common/keycheck KEYCHECK=$TMPDIR/keycheck
chmod 755 $KEYCHECK chmod 755 $KEYCHECK
if keytest; then if keytest; then
@ -69,6 +69,6 @@ else
ui_print " " ui_print " "
ui_print " Manual mode" ui_print " Manual mode"
ui_print " deleting iptables rules" ui_print " deleting iptables rules"
sed -i -e '/for/,$d' $TMPDIR/common/service.sh sed -i -e '/for/,$d' $TMPDIR/service.sh
sed -i -e "s/'127.0.0.1.*'/'127.0.0.1:53', '[::1]:53'/g" $MODPATH/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml sed -i -e "s/'127.0.0.1.*'/'127.0.0.1:53', '[::1]:53'/g" $MODPATH/system/etc/dnscrypt-proxy/dnscrypt-proxy.toml
fi fi

View File

@ -157,7 +157,7 @@ on_install() {
cp $CONFIG_FILE $TMPDIR cp $CONFIG_FILE $TMPDIR
fi fi
unzip -o "$ZIP" 'config/*' 'binary/*' -d $TMPDIR 2>/dev/null unzip -o "$ZIPFILE" 'config/*' 'binary/*' -d $TMPDIR 2>/dev/null
ui_print "* Creating binary path" ui_print "* Creating binary path"
mkdir -p $MODPATH/system/bin 2>/dev/null mkdir -p $MODPATH/system/bin 2>/dev/null
@ -189,7 +189,7 @@ on_install() {
cp -af $TMPDIR/dnscrypt-proxy.toml $CONFIG_FILE cp -af $TMPDIR/dnscrypt-proxy.toml $CONFIG_FILE
fi fi
. $TMPDIR/common/install.sh . $TMPDIR/option.sh
} }

View File

@ -1,6 +1,6 @@
id=dnscrypt-proxy id=dnscrypt-proxy
name=DNSCrypt-Proxy 2 name=DNSCrypt-Proxy 2
version=v2.8.1 version=v2.8.2
versionCode=18 versionCode=19
author=bluemeda author=bluemeda
description=A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2. Using DNSCrypt-proxy 2.0.21 description=A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2. Using DNSCrypt-proxy 2.0.22