Commit 4b91b5e7 authored by Dominika Liberda's avatar Dominika Liberda 💽
Browse files

* fixes some bugs

parent 8c4e8187
......@@ -13,7 +13,7 @@ mkdir -p revolut; cd revolut; rm -R base
[[ ! -f "signapk.jar" ]] && wget https://github.com/techexpertize/SignApk/raw/master/signapk.jar -O signapk.jar
java -jar apktool.jar d "$apk" -o base
strings_file=$(grep -Rl '<string name="passcode.welcome')
sed -E -i 's/passcode.welcome.*%(1|s)/&'"$2"'/g;s/%(1|s)'"$2"'(\$s|)/'"$2"'/g' "$i"
sed -E -i 's/passcode.welcome.*%(1|s)/&'"$2"'/g;s/%(1|s)'"$2"'(\$s|)/'"$2"'/g;s/\$\{senderName\}/'"$2"'/g' "$strings_file"
if [[ ! -f "crypto.crt" || ! -f "key.pk8" ]]; then
openssl genrsa -out crypto.key 1024
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment