From bc007fbf63f49195f1617ef4b1f5417a67c74cd1 Mon Sep 17 00:00:00 2001 From: bluemeda Date: Mon, 29 Apr 2019 15:56:39 +0700 Subject: [PATCH] fix #36 --- README.md | 2 ++ changelog.md | 2 ++ common/{install.sh => option.sh} | 4 ++-- install.sh | 4 ++-- module.prop | 6 +++--- 5 files changed, 11 insertions(+), 7 deletions(-) rename common/{install.sh => option.sh} (95%) mode change 100644 => 100755 diff --git a/README.md b/README.md index e2413e2..0f61f4c 100755 --- a/README.md +++ b/README.md @@ -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) ## Changelog +### v2.8.2 + - Fix "binary file is missing" ### v2.8.1 - Update Magisk 18100 requirements ### v2.8.0 diff --git a/changelog.md b/changelog.md index d728eb4..8db413e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ # Changelog ## Changelog +### v2.8.2 +- Fix "binary file is missing" ### v2.8.1 - Update Magisk 18100 requirements ### v2.8.0 diff --git a/common/install.sh b/common/option.sh old mode 100644 new mode 100755 similarity index 95% rename from common/install.sh rename to common/option.sh index f181600..328e74b --- a/common/install.sh +++ b/common/option.sh @@ -40,7 +40,7 @@ chooseportold() { } # Keycheck binary by someone755 @Github, idea for code below by Zappo @xda-developers -KEYCHECK=$TMPDIR/common/keycheck +KEYCHECK=$TMPDIR/keycheck chmod 755 $KEYCHECK if keytest; then @@ -69,6 +69,6 @@ else ui_print " " ui_print " Manual mode" 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 fi diff --git a/install.sh b/install.sh index 36c4584..2cd2fb0 100755 --- a/install.sh +++ b/install.sh @@ -157,7 +157,7 @@ on_install() { cp $CONFIG_FILE $TMPDIR 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" mkdir -p $MODPATH/system/bin 2>/dev/null @@ -189,7 +189,7 @@ on_install() { cp -af $TMPDIR/dnscrypt-proxy.toml $CONFIG_FILE fi - . $TMPDIR/common/install.sh + . $TMPDIR/option.sh } diff --git a/module.prop b/module.prop index ee61f33..93d4f6b 100755 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=dnscrypt-proxy name=DNSCrypt-Proxy 2 -version=v2.8.1 -versionCode=18 +version=v2.8.2 +versionCode=19 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