Skip to content

Commit 975a41d

Browse files
committed
windows: Add testnet icon for testnet link
Overhauled testnet icon by Jonas Schnelli
1 parent 0ce8e99 commit 975a41d

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

share/setup.nsi.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Section -post SEC0001
9292
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
9393
CreateDirectory $SMPROGRAMS\$StartMenuGroup
9494
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\$(^Name).lnk" $INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@
95-
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\@PACKAGE_NAME@ (testnet, @WINDOWS_BITS@-bit).lnk" "$INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@" "-testnet"
95+
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\@PACKAGE_NAME@ (testnet, @WINDOWS_BITS@-bit).lnk" "$INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@" "-testnet" "$INSTDIR\@BITCOIN_GUI_NAME@@EXEEXT@" 1
9696
CreateShortcut "$SMPROGRAMS\$StartMenuGroup\Uninstall $(^Name).lnk" $INSTDIR\uninstall.exe
9797
!insertmacro MUI_STARTMENU_WRITE_END
9898
WriteRegStr HKCU "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$(^Name)" DisplayName "$(^Name)"

src/Makefile.qt.include

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ RES_ICONS = \
231231
qt/res/icons/about.png \
232232
qt/res/icons/about_qt.png \
233233
qt/res/icons/bitcoin.ico \
234+
qt/res/icons/bitcoin_testnet.ico \
234235
qt/res/icons/bitcoin.png \
235236
qt/res/icons/chevron.png \
236237
qt/res/icons/clock1.png \

src/qt/res/bitcoin-qt-res.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
IDI_ICON1 ICON DISCARDABLE "icons/bitcoin.ico"
2+
IDI_ICON2 ICON DISCARDABLE "icons/bitcoin_testnet.ico"
23

34
#include <windows.h> // needed for VERSIONINFO
45
#include "../../clientversion.h" // holds the needed client version information

src/qt/res/icons/bitcoin_testnet.ico

55.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)