damage

July 3, 2019 ยท View on GitHub

Build Status GoDoc MIT licensed No Maintenance Intended

damage deals with DMG files, which are compressed little bundles of evil.

In particular, it should be able to:

  • Give you information about a DMG file
    • Whether or not it has a SLA (Software License Agreement), for example
    • And extracting the text of said SLA
  • Attach/detach a DMG file
    • Bypassing said SLA if you tell it to

Prerequisites

hdiutil must be in your $PATH.

That probably means being on macOS.