perdian / macosappbundler-maven-plugin

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

Copy the executable to the bundle #24

Closed cripson1994 closed 3 years ago

cripson1994 commented 3 years ago

Hi! I tried to copy the executable to the bundle using the additionalResources field, but after copying, the file lost executable privileges. Are there other ways to achieve this goal?

perdian commented 3 years ago

Thanks for reporting this.

Currently there is no other way to copy files into the bundle without losing the executable flag.

I'll take a look at the copy mechanism and how to keep the flag.

perdian commented 3 years ago

Fixed and released as 1.12.0.