diff --git a/README.md b/README.md index aa5a78a..1b1336f 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,6 @@ $ npm install nativefier -g To support usage of a `.png` for a packaged OSX app icon (currently only supported on OSX), you need the following dependencies. -##### [sips](https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/sips.1.html) -Automatically ships with OSX - ##### [iconutil](https://developer.apple.com/library/mac/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Optimizing/Optimizing.html) You need [XCode](https://developer.apple.com/xcode/) installed. @@ -56,6 +53,8 @@ You need [XCode](https://developer.apple.com/xcode/) installed. $ brew install imagemagick ``` +Make sure `convert` and `identify` are in your `$PATH`. + ##### [Google Chrome](https://www.google.com/chrome/) Google Chrome is required for flash to be supported. Alternatively, you could download the PepperFlash Chrome plugin and specify the path to it directly with the `--flash` flag. See the command line options below for more details. @@ -172,7 +171,7 @@ The icon parameter should be a path to a `.png` file. The icon parameter can either be a `.icns` or a `.png` file if the optional dependencies listed [above](#optional-dependencies) are installed. -With the `sips`, `iconutil` and `imagemagick convert` optional dependencies in your `PATH`, Nativefier will automatically convert the `.png` to a `.icns` for you. +With `iconutil`, Imagemagick `convert` and `identify` optional dependencies in your `PATH`, Nativefier will automatically convert the `.png` to a `.icns` for you. ###### Manually Converting `.icns` diff --git a/bin/pngToIcns b/bin/pngToIcns index 394a9b1..b9d2e5d 100755 --- a/bin/pngToIcns +++ b/bin/pngToIcns @@ -9,13 +9,8 @@ # ./pngToIcns.sh ~/sample.png ~/Desktop/converted.icns # Exec Paths -SIPS=$(which sips) ICONUTIL=$(which iconutil) IMAGEMAGICK=$(which convert) -if [ ! -x "${SIPS}" ]; then - echo "Cannot find required sips executable" >&2 - exit 1; -fi if [ ! -x "${ICONUTIL}" ]; then echo "Cannot find required iconutil executable" >&2 exit 1;