]> sigrok.org Git - pulseview.git/commitdiff
Installer: Add debug shortcut for -l 5
authorSoeren Apel <redacted>
Mon, 7 May 2018 19:38:59 +0000 (21:38 +0200)
committerSoeren Apel <redacted>
Mon, 7 May 2018 19:39:18 +0000 (21:39 +0200)
contrib/pulseview_cross.nsi.in

index 13a45fe18435746f1f46c1062dd611a2ecb6b2cd..13fd31808d64640e54e0a23ba6d77d3287a0bd97 100644 (file)
@@ -177,6 +177,12 @@ Section "PulseView (required)" Section1
                0 SW_SHOWNORMAL \
                "" "Open-source, portable sigrok GUI"
 
                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 \
        # Create a shortcut for the uninstaller.
        CreateShortCut "$SMPROGRAMS\sigrok\PulseView\Uninstall PulseView.lnk" \
                "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0 \