federkasten / appbundle-maven-plugin

Maven plugin that creates an Application Bundle for OS X containing all your project dependencies and the necessary metadata
Apache License 2.0
179 stars 56 forks source link

Added the ability for DMG files to be created on linux via the genisoimage command. #20

Closed marioestrella closed 8 years ago

marioestrella commented 9 years ago

Linux distros have access to either the genisoimage command. I'm not familiar with internet enabled DMG's so I didn't research that capability and it isn't added if the system detects Linux. As is stands the plugin does generate a valid DMG file in linux that I have used with my projects. Here information on the command.

genisoimage(from cdrkit): Creates a readonly .dmg file from a directory

genisoimage -D -V "%lt;Volume Label>" -no-pad -r -apple -o

-D: Do not use deep directory relocation, and instead just pack them in the way we see them -V: Volume Label -no-pad: Do not pad the end by 150 sectors (300kb). As it is not a cd image, not required -apple -r: Creates a .dmg image

federkasten commented 9 years ago

Looks good :)

I will review in this week.