packager/docs/pkgfiles/current.md
2023-10-14 22:39:47 +02:00

481 B

PKGFILE

version 1


PKGFiles are an all-in-one solution to install a package.

Overhead

Because pkgfiles include everything, many times you can download more than what is needed. This may seem stupid but pkgfiles are not meant to stay on your system.

Format

The format is as follows:

[PKGFILE version (1 byte)][manifest length x 256 (1 byte)][manifest length (1 byte)]
[manifest (manifest length bytes)]
[archive]

Endianness

The file is Big Endian.