Obtainium icon indicating copy to clipboard operation
Obtainium copied to clipboard

Add support for zipped APKs

Open heinrichat opened this issue 2 years ago • 14 comments

Prerequisites

I've searched all issues before posting.

Describe the feature

Can't donwload the latest releases from Mattermost Beta. https://github.com/mattermost/mattermost-mobile/releases/tag/v2.8.1

Since v2.5 or something they've started to zip the releases, which makes sense when you can minimize filesize during transmission.

Describe alternatives you've considered (if applicable)

Live without it. :face_exhaling:

Additional context

heinrichat avatar Oct 11 '23 14:10 heinrichat

The addition of this feature would be great!

Titaniumtown avatar Oct 12 '23 17:10 Titaniumtown

Yeah, it's one of the features that I'm sorely missing.

kenderipa avatar Oct 16 '23 08:10 kenderipa

Just posting the idea from the uncrowded disscussion I've started:

https://github.com/ImranR98/Obtainium/discussions/884

Well, I've looked at https://github.com/marcosnils/bin, and it has a pretty neat feature: --all flag, that lists all the files a linux binary could be installed from and lets the user decide, which file to pick. Could it be implemented in Obtainium in scope of this discussion? Like list all the files, pick an Android .zip, unzip it and install?

kenderipa avatar Oct 19 '23 15:10 kenderipa

apk is already a zip archive so I wonder what's the point? is there some limit on compression so they get better results with Matrioshka?

zakius avatar Nov 19 '23 21:11 zakius

apk is already a zip archive so I wonder what's the point? is there some limit on compression so they get better results with Matrioshka?

Fair, but tell that those devs who zip their APKs.

heinrichat avatar Nov 19 '23 22:11 heinrichat

I would also love the inclusion of this feature. I noticed it due to Citra that just stopped updating, and later figured out it was due to the compression of the apk since October

pgetsos avatar Dec 12 '23 10:12 pgetsos

I would also love the inclusion of this feature. I noticed it due to Citra that just stopped updating, and later figured out it was due to the compression of the apk since October

Huh, that explains why it's hell-bent on downloading https://github.com/citra-emu/citra-nightly/releases/tag/nightly-2006, which fails to install because my current version is newer (though not latest) because of android downgrade limitations, I presume.

Aren't APKs already ZIP files? Couldn't they just use a better compression instead if the point is to save file size/bandwidth?

Anyway, hope this gets implemented 👀👌

EDIT: For what it's worth, the MMJ fork still works, though it remains to be seen whether a future update will ZIP the APK https://github.com/weihuoya/citra/releases/latest

ThreeDeeJay avatar Dec 13 '23 07:12 ThreeDeeJay

I've noticed this too. This could be a nice-to-have feature.

namquang93 avatar Dec 19 '23 09:12 namquang93

Those wanting to auto-update Citra might wanna check this out https://github.com/TGP17/citra-android-update

ThreeDeeJay avatar Dec 20 '23 04:12 ThreeDeeJay

Good news for Citra image nightly-2057 now includes the unzipped APK. Confirmed working on Obtainium on my end. Still looking forward to zipped and GitHub actions support though 👀👌

ThreeDeeJay avatar Dec 21 '23 04:12 ThreeDeeJay

doukutsu-rs nightlies are zipped, containing the APK along with a license file. Basic support for temporarily extracting and installing the APK(s) inside would be greatly appreciated!

amphyvi avatar Jun 24 '24 20:06 amphyvi

+1 to this, as foobar2000 APKs are also zipped
https://www.foobar2000.org/apk

drunohazarb avatar Aug 05 '24 20:08 drunohazarb

Bitwarden started zipping their releases too

https://github.com/bitwarden/android/releases/tag/v2024.8.0

Araxeus avatar Aug 20 '24 16:08 Araxeus