mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:37:58 +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"
|
${NSD_CreateCheckbox} 0 $CurrentOffset$OffsetUnits 100% 10u "&Copy settings and content from production install"
|
||||||
Pop $CopyFromProductionCheckbox
|
Pop $CopyFromProductionCheckbox
|
||||||
|
|
||||||
|
${NSD_SetState} $CopyFromProductionCheckbox ${BST_CHECKED}
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
nsDialogs::Show
|
nsDialogs::Show
|
||||||
|
@ -976,7 +978,7 @@ Function HandlePostInstallOptions
|
||||||
${If} $CopyFromProductionState == ${BST_CHECKED}
|
${If} $CopyFromProductionState == ${BST_CHECKED}
|
||||||
; we need to copy whatever is in the data folder for production build to the data folder for this build
|
; we need to copy whatever is in the data folder for production build to the data folder for this build
|
||||||
CreateDirectory "$APPDATA\@BUILD_ORGANIZATION@"
|
CreateDirectory "$APPDATA\@BUILD_ORGANIZATION@"
|
||||||
CopyFiles "$APPDATA\High Fidelity\" "$APPDATA\@BUILD_ORGANIZATION@\"
|
CopyFiles "$APPDATA\High Fidelity\*" "$APPDATA\@BUILD_ORGANIZATION@"
|
||||||
${EndIf}
|
${EndIf}
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue