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