X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=contrib%2Fpulseview_cross.nsi.in;fp=contrib%2Fpulseview_cross.nsi.in;h=d8b9442fe020d038ed95df6b649236a588d9515f;hp=88945f44b214a5e7be774fb016b6c156ef8a265e;hb=1d3defec28e1fe67c8aec4d61eaaf6b41ab4d6c4;hpb=49a0a40345eb84be2c953c5f83cd0c9ccada6360 diff --git a/contrib/pulseview_cross.nsi.in b/contrib/pulseview_cross.nsi.in index 88945f44..d8b9442f 100644 --- a/contrib/pulseview_cross.nsi.in +++ b/contrib/pulseview_cross.nsi.in @@ -184,6 +184,12 @@ Section "PulseView (required)" Section1 0 SW_SHOWNORMAL \ "" "Open-source, portable sigrok GUI" + # Create a shortcut for the PulseView application in "safe mode". + CreateShortCut "$SMPROGRAMS\sigrok\PulseView\PulseView (Safe Mode).lnk" \ + "$INSTDIR\pulseview.exe" "-c -D" "$INSTDIR\pulseview.exe" \ + 0 SW_SHOWNORMAL \ + "" "Open-source, portable sigrok GUI (Safe Mode)" + # 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" \ @@ -296,6 +302,7 @@ Section "Uninstall" # Delete the links from the start menu. Delete "$SMPROGRAMS\sigrok\PulseView\PulseView.lnk" + Delete "$SMPROGRAMS\sigrok\PulseView\PulseView (Safe Mode).lnk" Delete "$SMPROGRAMS\sigrok\PulseView\PulseView (Debug).lnk" Delete "$SMPROGRAMS\sigrok\PulseView\Uninstall PulseView.lnk" Delete "$SMPROGRAMS\sigrok\PulseView\Zadig (PulseView).lnk"