perdian / macosappbundler-maven-plugin

Maven plugin for creating a native macOS bundle containing all dependencies required by a Maven project
Apache License 2.0
42 stars 15 forks source link

[Fixes #5] Add two new config options: appendVersion and dmgFileName #6

Closed lfuelling closed 4 years ago

lfuelling commented 4 years ago

Hi, this PR adds two new config options:

If dmgFileName is null (default) or empty, and appendVersion is true, the name will be application_1.0-SNAPSHOT.dmg, if dmgFileName is set to foobar, the file name will be foobar.dmg; appendVersion is ignored if a custom name is used.

This change affects both, hdiutil and genisoimage.

This was done to fix #5 while keeping flexible with naming.