fix make_windows_icon.sh script to generate testnet icons too and clean after its work is done
This commit is contained in:
parent
6363a25879
commit
e3cbf9e1f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user