Installer: Add debug shortcut for -l 5

This commit is contained in:
Soeren Apel 2018-05-07 21:38:59 +02:00
parent 5c48ce328b
commit a3110cabd9
1 changed files with 6 additions and 0 deletions

View File

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