diff --git a/syncthing.nsi b/syncthing.nsi index 1622e88..41de9da 100644 --- a/syncthing.nsi +++ b/syncthing.nsi @@ -5,9 +5,9 @@ Icon "${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico" SilentInstall silent Section "" - SetOutPath $DOCUMENTS\Syncthing + SetOutPath $APPDATA\Syncthing File syncthing.exe - CreateShortCut "$SMSTARTUP\Syncthing.lnk" "$DOCUMENTS\Syncthing\syncthing.exe" "-no-console" + CreateShortCut "$SMSTARTUP\Syncthing.lnk" "$APPDATA\Syncthing\syncthing.exe" "-no-console" ExecShell "" "$SMSTARTUP\Syncthing.lnk" SectionEnd \ No newline at end of file