Use the registry path for datadir, don't override it here

Removes an assumption on directory if the user has a datadir from the previous install, use that
This commit is contained in:
Anthony Lavado 2019-10-16 03:18:34 -04:00
parent 63e0bd1d61
commit 6f504a246b

View File

@ -407,7 +407,6 @@ Function .onInit
StrCpy $_INSTALLSERVICE_ "No"
StrCpy $_SERVICESTART_ "No"
StrCpy $_MAKESHORTCUTS_ "Yes"
StrCpy $_JELLYFINDATADIR_ "$LOCALAPPDATA\Jellyfin\Server"
${EndIf}
; Let the user know that we'll upgrade and provide an option to quit.