mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 13:12:40 +02:00
check the copy box by default
This commit is contained in:
parent
2094a75294
commit
1deaebd544
1 changed files with 3 additions and 1 deletions
|
@ -916,6 +916,8 @@ Function PostInstallOptionsPage
|
|||
|
||||
${NSD_CreateCheckbox} 0 $CurrentOffset$OffsetUnits 100% 10u "&Copy settings and content from production install"
|
||||
Pop $CopyFromProductionCheckbox
|
||||
|
||||
${NSD_SetState} $CopyFromProductionCheckbox ${BST_CHECKED}
|
||||
${EndIf}
|
||||
|
||||
nsDialogs::Show
|
||||
|
@ -976,7 +978,7 @@ Function HandlePostInstallOptions
|
|||
${If} $CopyFromProductionState == ${BST_CHECKED}
|
||||
; we need to copy whatever is in the data folder for production build to the data folder for this build
|
||||
CreateDirectory "$APPDATA\@BUILD_ORGANIZATION@"
|
||||
CopyFiles "$APPDATA\High Fidelity\" "$APPDATA\@BUILD_ORGANIZATION@\"
|
||||
CopyFiles "$APPDATA\High Fidelity\*" "$APPDATA\@BUILD_ORGANIZATION@"
|
||||
${EndIf}
|
||||
${EndIf}
|
||||
|
||||
|
|
Loading…
Reference in a new issue