]> sigrok.org Git - pulseview.git/commitdiff
nsis: Fix the "working dir" path for PulseView.
authorUwe Hermann <redacted>
Tue, 11 Mar 2014 22:19:28 +0000 (23:19 +0100)
committerUwe Hermann <redacted>
Tue, 11 Mar 2014 22:19:28 +0000 (23:19 +0100)
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.

contrib/pulseview_cross.nsi

index 78fa0c417c429f5aec64c1d1f7c1a5897a98ad7e..7e9dd923c5d1f5ed1383bce086abb3075999b22d 100644 (file)
@@ -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 \