Re: command line installer
Re: command line installer
- Subject: Re: command line installer
- From: Roland King <email@hidden>
- Date: Thu, 05 Nov 2015 15:05:28 +0800
> On 5 Nov 2015, at 13:10, Jens Alfke <email@hidden> wrote:
>
> I can’t think of any command-line tools with GUI installers. The two don’t seem to go together :)
>
> * If it’s just a single binary that doesn’t need a specific location, distribute it as a zip file and just have a readme that says to move it somewhere in your $PATH, like /usr/local/bin or ~/bin.
> * Otherwise you can put an “install.sh” shell script in the zip file that will do the appropriate installation.
> * Even better, add your tool to Homebrew so people just have to type “brew install thisniftytool” to install it.
>
I can think of a few - Segger for instance packages its JLink stuff up as an installer and that’s all command-line on OSX, it installs into /Applications and then symlinks out of /usr/local/bin, very convenient and signed as well, the tools and the installer.
I have an installer for my own product which installs a GUI app and the command-line tools to go with it, which does something similar, mine copies them to /usr/local/bin however.
I used Stephan’s ‘Packages’ installer to create it - very simple, you can make it part of the Xcode build with a custom script stage.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden