From b2cbdfb04286480ec376fdf193929c653524954a Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Sun, 10 Dec 2017 19:10:26 +0100 Subject: [PATCH] Windows Installer: Add shortcut to testnet mode --- contrib/build-wine/electrum.nsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/build-wine/electrum.nsi b/contrib/build-wine/electrum.nsi index 9e3bdb42a..6476ccad2 100644 --- a/contrib/build-wine/electrum.nsi +++ b/contrib/build-wine/electrum.nsi @@ -129,6 +129,8 @@ Section CreateDirectory "$SMPROGRAMS\${PRODUCT_NAME}" CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME}.lnk" "$INSTDIR\electrum-${PRODUCT_VERSION}.exe" "" "$INSTDIR\electrum-${PRODUCT_VERSION}.exe" 0 + CreateShortCut "$SMPROGRAMS\${PRODUCT_NAME}\${PRODUCT_NAME} Testnet.lnk" "$INSTDIR\electrum-${PRODUCT_VERSION}.exe" "--testnet" "$INSTDIR\electrum-${PRODUCT_VERSION}.exe" 0 + ;Links bitcoin: URI's to Electrum WriteRegStr HKCU "Software\Classes\bitcoin" "" "URL:bitcoin Protocol" @@ -168,4 +170,4 @@ Section "Uninstall" DeleteRegKey HKCU "Software\Classes\bitcoin" DeleteRegKey HKCU "Software\${PRODUCT_NAME}" DeleteRegKey HKCU "${PRODUCT_UNINST_KEY}" -SectionEnd \ No newline at end of file +SectionEnd