]> sigrok.org Git - sigrok-cli.git/blobdiff - contrib/sigrok-cli_cross.nsi.in
nsis: Fix the "working dir" path for sigrok-cli.
[sigrok-cli.git] / contrib / sigrok-cli_cross.nsi.in
index 402327c3f71a26de0e2594b9b617bc0e92e5d422..cffe253929e1f29114d9e8a764dd0652d7a76a34 100644 (file)
@@ -162,8 +162,8 @@ Section "@PACKAGE_NAME@ (required)" Section1
 
        # Create a shortcut for sigrok-cli (this merely opens a "DOS box").
        # Set the working directory (where the user will be placed into when
-       # the DOS box starts) to the user's Desktop directory.
-       SetOutPath "$DESKTOP"
+       # the DOS box starts) to the installation directory.
+       SetOutPath "$INSTDIR"
        CreateShortCut "$SMPROGRAMS\sigrok\@PACKAGE_NAME@\sigrok command-line tool.lnk" \
                "$SYSDIR\cmd.exe" \
                "/K echo For instructions run @PACKAGE_NAME@ --help." \