mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Check for the presence of AppDataLocal folder before using it
This commit is contained in:
parent
6f504a246b
commit
330395e8b6
1 changed files with 2 additions and 1 deletions
|
@ -494,7 +494,8 @@ ${If} $BasicInstall == 1
|
|||
StrCpy $_SERVICESTART_ "No"
|
||||
StrCpy $_SERVICEACCOUNTTYPE_ "None"
|
||||
StrCpy $_MAKESHORTCUTS_ "Yes"
|
||||
StrCpy $_JELLYFINDATADIR_ "$LOCALAPPDATA\Jellyfin\Server"
|
||||
IfFileExists "$LOCALAPPDATA\Jellyfin\Server\*.*" 0 ; if the folder exists, use this, otherwise, go with new default
|
||||
StrCpy $_JELLYFINDATADIR_ "$LOCALAPPDATA\Jellyfin\Server"
|
||||
|
||||
${Else}
|
||||
StrCpy $_SETUPTYPE_ "Advanced"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue