flatpak-games icon indicating copy to clipboard operation
flatpak-games copied to clipboard

Add Nixstaller support

Open hadess opened this issue 8 years ago • 1 comments

  • find archive after the script bits
  • unpack archive
  • find biggest file and check it's an archive
  • unpack that archive

See also: https://cgit.gentoo.org/proj/gamerlay.git/tree/eclass/unpacker.eclass#n255

hadess avatar Jun 16 '16 19:06 hadess

I use some code in my ./play.it project that seems generic enough to manage multiple Nixstaller archives extraction, you can have a look at it there: https://github.com/vv221/play.it/blob/play.it-2/play.it-2/src/extract_data_from.sh

From my experience, you can’t assume after the first extraction pass that there will be only one archive to extract from there. Sometime there is an archive for architecture-agnostic data, one for 32-bit binaries and one for 64-bit binaries.

vv221 avatar Apr 09 '17 12:04 vv221