Browse Source

Introduce versioning

because why not, this thing is already blown out of all proportions
pull/1/head
Felix 3 years ago
parent
commit
65dfd08378
  1. 5
      create_zip.sh
  2. 2
      tmp/patch_dualsim.sh

5
create_zip.sh

@ -1,4 +1,5 @@
#!/usr/bin/env sh
VERSION=2
mkdir -p zips
rm zips/sony-dualsim-patcher.zip
zip zips/sony-dualsim-patcher.zip tmp/* META-INF/com/google/android/update-binary META-INF/com/google/android/updater-script
rm zips/sony-dualsim-patcher-v$VERSION.zip
zip zips/sony-dualsim-patcher-v$VERSION.zip tmp/* META-INF/com/google/android/update-binary META-INF/com/google/android/updater-script

2
tmp/patch_dualsim.sh

@ -73,7 +73,7 @@ else
echo "Substituting props in /vendor/build.prop"
fi
ifs_backup="$IFS"
_ifs_backup="$IFS"
# Prevent prop names with spaces in them being split into multiple fields
IFS=$'\n'
for prop in `cat /tmp/build.prop`

Loading…
Cancel
Save