4 ms·
My codesigning notes for Racket Build an application, unpack the .dmg file, add my own data files, create a new subdirectory with same name and move all files
by mark_l_watson 7y ago
My codesigning notes for Racket
Build an application, unpack the .dmg file, add my own data files, create a new subdirectory with same name and move all files into it, discard the dmg, use Disk Utility to build a new .dmg and sign it:
codesign --force --deep --options runtime -s mark@mydomain.com -v New.dmg
Note: my app had required data files, which complicated the process.
- fiddlerwoaroof 7y agoI’ve figured out a somewhat automatic way to do the dmg bundling which may be of interest: https://github.com/cjdev/aws-access/blob/master/Makefile#L26 https://github.com/cjdev/aws-access/blob/master/Makefile#L26 The manifest file used is here: https://github.com/cjdev/aws-access/blob/master/dmg.json https://github.com/cjdev/aws-access/blob/master/dmg.json It’s a bit annoying because it requires having a working node installation, but I found the whole process of building and configuring a dmg much too manual and undocumented to not use some kind of utility for.