KosalaHerath / macos-installer-builder

Generate macOS installers for your applications and products from one command
Apache License 2.0
323 stars 94 forks source link

Installation of Unix Executable #1

Closed zivkaziv closed 4 years ago

zivkaziv commented 5 years ago

Hi,

I'm looking for a way to install Unix Executable file and add it to the PATH. Is there an option to do so?

Thanks Ziv

KosalaHerath commented 4 years ago

You can add the executable file into the application folder and using the macos-installer-builder/macOS-x64/darwin/scripts/postinstall script you change permissions of the file and add to the PATH. You can do all the post-install process using this postinstall script which runs after the installation (copying files). Hope you got the answer.

KosalaHerath commented 4 years ago

Since the matter has been answered closing the issue. Please create aa new issue if you need more help on this.