Skip to content

Support magic number of dmg files #48

@sarensw

Description

@sarensw

dmg files have the magic number at the end of the file. MacPacker right now only supports magic numbers at a certain offset. As the size of the dmg is always different, a fixed offset cannot be set.

typedef struct {
  uint8_t  Signature[4];           // magic 'koly'
  ...
} __attribute__((packed, scalar_storage_order("big-endian"))) UDIFResourceFile;

Acceptance Criteria

  • Allow magic numbers to be at the end of files

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions