From a3110cabd9f265eb066fadbfa2d82c0a6bbd6d18 Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Mon, 7 May 2018 21:38:59 +0200 Subject: [PATCH 1/1] Installer: Add debug shortcut for -l 5 --- contrib/pulseview_cross.nsi.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/pulseview_cross.nsi.in b/contrib/pulseview_cross.nsi.in index 13a45fe1..13fd3180 100644 --- a/contrib/pulseview_cross.nsi.in +++ b/contrib/pulseview_cross.nsi.in @@ -177,6 +177,12 @@ Section "PulseView (required)" Section1 0 SW_SHOWNORMAL \ "" "Open-source, portable sigrok GUI" + # Create a shortcut for the PulseView application running in debug mode. + CreateShortCut "$SMPROGRAMS\sigrok\PulseView\PulseView (Debug).lnk" \ + "$INSTDIR\pulseview.exe" "-l 5" "$INSTDIR\pulseview.exe" \ + 0 SW_SHOWNORMAL \ + "" "Open-source, portable sigrok GUI (debug log level)" + # Create a shortcut for the uninstaller. CreateShortCut "$SMPROGRAMS\sigrok\PulseView\Uninstall PulseView.lnk" \ "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 \ -- 2.30.2