Skip to content

Instantly share code, notes, and snippets.

@mgrider
mgrider / prepare_icons.sh
Last active June 27, 2023 22:02 — forked from alvinthen/prepare_icons.sh
Make all app icons with imagemagick, iOS and Android
#!/bin/sh
base=$1
if [ -z $base ]
then
echo No argument given
else
##
## iOS files
convert "$base" -resize 20x20! "Icon-20.png"
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Created: 2010/12/05
// Updated: 2018/09/12
// License: MIT
//
// Copyright (c) 2010-2018 Diego Perini (http://www.iport.it)
//