diff --git a/CommonInstaller b/CommonInstaller index 7ce6966..7002312 100644 --- a/CommonInstaller +++ b/CommonInstaller @@ -1314,9 +1314,12 @@ nanodroid_install_apk () { echo " installing app: ${app}" echo " from: ${source}" echo " into: ${dest} [${dest_apk}]" - cp "${source}" "${dest}/${dest_apk}" || \ + cp "${source}.bz2" "${dest}/${dest_apk}.bz2" || \ error "failed to install ${source} to ${dest}" + bzip2 -d "${dest}/${dest_apk}.bz2" || \ + error "failed to decompress ${dest}/${dest_apk}.bz2" + installinfo_add "${dest}/${dest_apk}" nanodroid_install_lib "${dest}/${dest_apk}" "${2}"