From: Soeren Apel Date: Mon, 8 Jun 2020 19:46:45 +0000 (+0200) Subject: Fix #1557 by adding a "safe mode" to the installer X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=1d3defec28e1fe67c8aec4d61eaaf6b41ab4d6c4;p=pulseview.git Fix #1557 by adding a "safe mode" to the installer --- 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"