Update dumper.sh

- Fix non-encrypted ozip extraction
This commit is contained in:
Rokib Hasan Sagar 2021-01-31 05:37:20 +06:00 committed by GitHub
parent d77a9e3023
commit 3723de08a8
Signed by untrusted user: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,8 +79,10 @@ mkdir -p "${OUTDIR}" "${TMPDIR}" 2>/dev/null
# Clone Oppo Decryption Tools From Upstream
if [[ ! -d "${UTILSDIR}"/oppo_ozip_decrypt ]]; then
git clone -q https://github.com/bkerler/oppo_ozip_decrypt.git "${UTILSDIR}"/oppo_ozip_decrypt
git -C "${UTILSDIR}"/oppo_ozip_decrypt reset -q --hard d02128dade8fffaf16e00f9f7d01f7be39558f69
else
git -C "${UTILSDIR}"/oppo_ozip_decrypt pull -q
git -C "${UTILSDIR}"/oppo_ozip_decrypt reset -q --hard d02128dade8fffaf16e00f9f7d01f7be39558f69
fi
if [[ ! -d "${UTILSDIR}"/oppo_decrypt ]]; then
git clone -q https://github.com/bkerler/oppo_decrypt.git "${UTILSDIR}"/oppo_decrypt