From e3cbf9e1f23687e169e100c378e6371459079eba Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Mon, 29 Jun 2015 02:22:26 +0300 Subject: [PATCH] fix make_windows_icon.sh script to generate testnet icons too and clean after its work is done --- share/qt/make_windows_icon.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/share/qt/make_windows_icon.sh b/share/qt/make_windows_icon.sh index bf607b1c6..9c166afaa 100755 --- a/share/qt/make_windows_icon.sh +++ b/share/qt/make_windows_icon.sh @@ -1,9 +1,17 @@ #!/bin/bash # create multiresolution windows icon +#mainnet ICON_SRC=../../src/qt/res/icons/bitcoin.png ICON_DST=../../src/qt/res/icons/bitcoin.ico convert ${ICON_SRC} -resize 16x16 bitcoin-16.png convert ${ICON_SRC} -resize 32x32 bitcoin-32.png convert ${ICON_SRC} -resize 48x48 bitcoin-48.png convert bitcoin-16.png bitcoin-32.png bitcoin-48.png ${ICON_DST} - +#testnet +ICON_SRC=../../src/qt/res/icons/bitcoin_testnet.png +ICON_DST=../../src/qt/res/icons/bitcoin_testnet.ico +convert ${ICON_SRC} -resize 16x16 bitcoin-16.png +convert ${ICON_SRC} -resize 32x32 bitcoin-32.png +convert ${ICON_SRC} -resize 48x48 bitcoin-48.png +convert bitcoin-16.png bitcoin-32.png bitcoin-48.png ${ICON_DST} +rm bitcoin-16.png bitcoin-32.png bitcoin-48.png