From: Uwe Hermann Date: Tue, 11 Mar 2014 22:19:28 +0000 (+0100) Subject: nsis: Fix the "working dir" path for PulseView. X-Git-Tag: pulseview-0.2.0~25 X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=77243b3e8c8a8b3c7742d4d4064ea236d1d81496;ds=sidebyside nsis: Fix the "working dir" path for PulseView. This was previously incorrectly set to the firmware/ subdir which resulted in PDs not showing up in PulseView's Decoders->Add menu. Thanks to Peter Newman for bringing up this issue. --- diff --git a/contrib/pulseview_cross.nsi b/contrib/pulseview_cross.nsi index 78fa0c41..7e9dd923 100644 --- a/contrib/pulseview_cross.nsi +++ b/contrib/pulseview_cross.nsi @@ -161,6 +161,7 @@ Section "PulseView (required)" Section1 CreateDirectory "$SMPROGRAMS\sigrok\PulseView" # Create a shortcut for the PulseView application. + SetOutPath "$INSTDIR" CreateShortCut "$SMPROGRAMS\sigrok\PulseView\PulseView.lnk" \ "$INSTDIR\pulseview.exe" "" "$INSTDIR\pulseview.exe" \ 0 SW_SHOWNORMAL \