build-ico.sh 491 B

123456789101112131415
  1. #!/bin/bash
  2. #
  3. # Convert PNG icons in the current directory into ICO format for Windows.
  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="png2ico"
  10. BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  11. TARGET=$(readlink -f "$BASE_DIR/../../windows/Remote-Support-Tool.ico")
  12. $APP "$TARGET" "$BASE_DIR/16.png" "$BASE_DIR/32.png" "$BASE_DIR/48.png"
  13. echo "Saved ico file to $TARGET"