build-icns.sh 481 B

1234567891011121314
  1. #!/bin/bash
  2. #
  3. # Convert PNG icons in the current directory into ICNS format for Mac OS X.
  4. #
  5. # Copyright 2015 OpenIndex.de.
  6. # Distributed under the MIT License.
  7. # See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
  8. #
  9. APP="png2icns"
  10. BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  11. TARGET=$(readlink -f "$BASE_DIR/../../darwin/Remote-Support-Tool.icns")
  12. $APP "$TARGET" "$BASE_DIR/16.png" "$BASE_DIR/32.png" "$BASE_DIR/48.png" "$BASE_DIR/128.png"