Skip to content

Commit

Permalink
Fix y-axis position var syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Mar 23, 2022
1 parent 0b8828f commit e54fb5d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions constructor/nsis/OptionsDialog.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ Function mui_AnaCustomOptions_Show
${Else}
StrCpy $1 "the system"
${EndIf}
${NSD_CreateCheckbox} 0 "${5}u" 100% 11u "Add ${NAME} to $1 &PATH environment variable"
${NSD_CreateCheckbox} 0 "$5u" 100% 11u "Add ${NAME} to $1 &PATH environment variable"
Pop $mui_AnaCustomOptions.AddToPath
${NSD_SetState} $mui_AnaCustomOptions.AddToPath $Ana_AddToPath_State
${NSD_OnClick} $mui_AnaCustomOptions.AddToPath AddToPath_OnClick
IntOp $5 $5 + 12
${NSD_CreateLabel} 5% "${5}u" 90% 29u \
${NSD_CreateLabel} 5% "$5u" 90% 29u \
"NOT recommended; adding ${NAME} to the PATH can lead to conflicts with other \
applications. Instead, use the Commmand Prompt and Powershell menus added to the \
$\"Anaconda${PYVERSION_MAJOR} (${ARCH})$\" folder of the Windows Start Menu."
Expand All @@ -100,35 +100,35 @@ Function mui_AnaCustomOptions_Show
${Else}
StrCpy $1 "the system"
${EndIf}
${NSD_CreateCheckbox} 0 "${5}u" 100% 11u "&Register ${NAME} as $1 Python ${PY_VER}"
${NSD_CreateCheckbox} 0 "$5u" 100% 11u "&Register ${NAME} as $1 Python ${PY_VER}"
Pop $mui_AnaCustomOptions.RegisterSystemPython
${NSD_SetState} $mui_AnaCustomOptions.RegisterSystemPython $Ana_RegisterSystemPython_State
${NSD_OnClick} $mui_AnaCustomOptions.RegisterSystemPython RegisterSystemPython_OnClick
IntOp $5 $5 + 12
${NSD_CreateLabel} 5% "${5}u" 90% 20u \
${NSD_CreateLabel} 5% "$5u" 90% 20u \
"Recommended. Allows other programs, such as VSCode, PyCharm, etc. to automatically \
detect ${NAME} as the primary Python ${PY_VER} on the system."
IntOp $5 $5 + 20
Pop $Ana_RegisterSystemPython_Label
${EndIf}


${NSD_CreateCheckbox} 0 "${5}u" 100% 11u "Clear the package cache upon completion"
${NSD_CreateCheckbox} 0 "$5u" 100% 11u "Clear the package cache upon completion"
Pop $mui_AnaCustomOptions.ClearPkgCache
${NSD_SetState} $mui_AnaCustomOptions.ClearPkgCache $Ana_ClearPkgCache_State
${NSD_OnClick} $mui_AnaCustomOptions.ClearPkgCache ClearPkgCache_OnClick
IntOp $5 $5 + 11
${NSD_CreateLabel} 5% "${5}u" 90% 11u \
${NSD_CreateLabel} 5% "$5u" 90% 11u \
"Recommended. Recovers some disk space without harming functionality."
Pop $Ana_ClearPkgCache_Label

${If} "${POST_INSTALL_DESC}" != ""
${NSD_CreateCheckbox} 0 "${5}u" 100% 11u "Run the post-install script"
${NSD_CreateCheckbox} 0 "$5u" 100% 11u "Run the post-install script"
Pop $mui_AnaCustomOptions.PostInstall
${NSD_SetState} $mui_AnaCustomOptions.PostInstall $Ana_PostInstall_State
${NSD_OnClick} $mui_AnaCustomOptions.PostInstall PostInstall_OnClick
IntOp $5 $5 + 12
${NSD_CreateLabel} 5% "${5}u" 90% 20u "Recommended. ${POST_INSTALL_DESC}"
${NSD_CreateLabel} 5% "$5u" 90% 20u "Recommended. ${POST_INSTALL_DESC}"
Pop $Ana_PostInstall_Label
${EndIf}

Expand Down

0 comments on commit e54fb5d

Please sign in to comment.