The Free Software Media System - Server Backend & API
Add escapes for path quotes in the NSIS Installer (#1777)
Anthony Lavado229bd598b560
diff --git a/deployment/windows/jellyfin.nsi b/deployment/windows/jellyfin.nsiindex 6a647330dc..e33efde916 100644--- a/deployment/windows/jellyfin.nsi+++ b/deployment/windows/jellyfin.nsi@@ -185,7 +185,7 @@ Section "Jellyfin Server Service" InstallServiceDetailPrint "Jellyfin Server service statuscode, $0"${If} $0 == 0InstallRetry:- ExecWait '"$INSTDIR\nssm.exe" install JellyfinServer "$INSTDIR\jellyfin.exe" --datadir "$_JELLYFINDATADIR_"' $0+ ExecWait '"$INSTDIR\nssm.exe" install JellyfinServer "$INSTDIR\jellyfin.exe" --datadir \"$_JELLYFINDATADIR_\"' $0${If} $0 <> 0!insertmacro ShowError "Could not install the Jellyfin Server service." InstallRetry${EndIf}@@ -201,7 +201,7 @@ Section "Jellyfin Server Service" InstallServiceDetailPrint "Jellyfin Server Service setting (Application), $0"ConfigureAppParametersRetry:- ExecWait '"$INSTDIR\nssm.exe" set JellyfinServer AppParameters --datadir "$_JELLYFINDATADIR_"' $0+ ExecWait '"$INSTDIR\nssm.exe" set JellyfinServer AppParameters --datadir \"$_JELLYFINDATADIR_\"' $0${If} $0 <> 0!insertmacro ShowError "Could not configure the Jellyfin Server service." ConfigureAppParametersRetry${EndIf}