I just created a .clr palette and want to share it with people who aren't tech-savvy, or comfortable using terminal. I was wondering if there is a script or way of packaging it up, so that mavericks moves it into the proper directory when double-clicked.
Background: I'm an iOS developer but have never developed anything for osx, so I do have Xcode installed if it's required for what I need.
I know that in terminal I could just use sudo mv
but is there a simpler way without using terminal?
Thanks!
Creating an installer package is the de facto standard on OS X for this kind of thing. It's the most straightforward and professional means to get the right files in exactly the right places.
The standard command-line tools for building installer packages are:
DESCRIPTION
pkgbuild - Is defined as a component package that contains a payload to be installed by the OS X Installer. Component packages can be installed independently, however, they are often incorporated into a product archive — along with a distribution and localized resources, using productbuild
.
productbuild - Is defined as a product archive (which is a flat file with a .pkg extension). Productbuild creates a deployable product archive, which can be used with the OS X Installer. It can easily install files in targeted locations, only requiring the end user to enter their administrator password.