mrrfv / open-android-backup

Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
http://openandroidbackup.me/
GNU General Public License v3.0
674 stars 37 forks source link

empty name of .apk #5

Closed spikyatlinux closed 2 years ago

spikyatlinux commented 2 years ago

Hey nice work, but perhaps you could change line 96 (cd $output && adb pull $( echo $app | sed "s/package://" | sed "s/.apk=/.apk /" | sed "s/\([[:blank:]]\).*/\1/" ).apk) produce an empty filename.apk .apk if you change it to (cd $output && adb pull $( echo $app | sed "s/^package://" | sed "s/base.apk=/base.apk /" | sed 's/\r//g').apk) you´ll get the right name if you wish that.

Best reagrds

Poomex commented 2 years ago

It would be nice if the apk files had appropriate names in the archive. Same with contacts.

mrrfv commented 2 years ago

Commit f8568ea5af728b255e9129ea15caa07448e64256 fixes this issue.