Skip to content

Commit 812d1d0

Browse files
committed
Re-render 2023.11.06
1 parent b621469 commit 812d1d0

22 files changed

+5198
-4124
lines changed

constructor/nsis/main.nsi.tmpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,13 @@ Page Custom InstModePage_Create InstModePage_Leave
161161
!define MUI_FINISHPAGE_TEXT __CONCLUSION_TEXT__
162162
#endif
163163

164+
#if custom_conclusion
164165
# Custom conclusion file(s)
165166
@CUSTOM_CONCLUSION_FILE@
166-
167+
#else
167168
!insertmacro MUI_PAGE_FINISH
169+
#endif
170+
168171

169172
!insertmacro MUI_UNPAGE_WELCOME
170173
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE un.OnDirectoryLeave
@@ -929,7 +932,7 @@ Function OnDirectoryLeave
929932
Pop $R9
930933

931934
# List of characters not allowed anywhere in $INSTDIR
932-
Push "^%!=,"
935+
Push "^%!=,()"
933936
Push $INSTDIR
934937
Call StrCSpn
935938
Pop $R0
@@ -1110,6 +1113,7 @@ Section "Install"
11101113
File /nonfatal /r __INDEX_CACHE__
11111114
File /r __REPODATA_RECORD__
11121115

1116+
@SCRIPT_ENV_VARIABLES@
11131117
System::Call 'kernel32::SetEnvironmentVariable(t,t)i("CONDA_SAFETY_CHECKS", "disabled").r0'
11141118
System::Call 'kernel32::SetEnvironmentVariable(t,t)i("CONDA_EXTRA_SAFETY_CHECKS", "no").r0'
11151119
System::Call 'kernel32::SetEnvironmentVariable(t,t)i("CONDA_PKGS_DIRS", "$INSTDIR\pkgs")".r0'

constructor/nsis/main.nsi.tmpl.orig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,13 @@ Page Custom mui_AnaCustomOptions_Show
161161
!define MUI_FINISHPAGE_TEXT __CONCLUSION_TEXT__
162162
#endif
163163

164+
#if custom_conclusion
164165
# Custom conclusion file(s)
165166
@CUSTOM_CONCLUSION_FILE@
166-
167+
#else
167168
!insertmacro MUI_PAGE_FINISH
169+
#endif
170+
168171

169172
!insertmacro MUI_UNPAGE_WELCOME
170173
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE un.OnDirectoryLeave
@@ -929,7 +932,7 @@ Function OnDirectoryLeave
929932
Pop $R9
930933

931934
# List of characters not allowed anywhere in $INSTDIR
932-
Push "^%!=,"
935+
Push "^%!=,()"
933936
Push $INSTDIR
934937
Call StrCSpn
935938
Pop $R0
@@ -1110,6 +1113,7 @@ Section "Install"
11101113
File /nonfatal /r __INDEX_CACHE__
11111114
File /r __REPODATA_RECORD__
11121115

1116+
@SCRIPT_ENV_VARIABLES@
11131117
System::Call 'kernel32::SetEnvironmentVariable(t,t)i("CONDA_SAFETY_CHECKS", "disabled").r0'
11141118
System::Call 'kernel32::SetEnvironmentVariable(t,t)i("CONDA_EXTRA_SAFETY_CHECKS", "no").r0'
11151119
System::Call 'kernel32::SetEnvironmentVariable(t,t)i("CONDA_PKGS_DIRS", "$INSTDIR\pkgs")".r0'

0 commit comments

Comments
 (0)