From e59fbac761eedae6ed991f8aac51347cdb356c0f Mon Sep 17 00:00:00 2001 From: JeLuF Date: Sun, 13 Nov 2022 09:19:01 +0100 Subject: [PATCH] set USERPROFILE to local profile (fixes #468) According to this analysis: https://discord.com/channels/1014774730907209781/1040225028828057620/1040324719074889779 the USERPROFILE variable must not contain unicode characters as well. Only setting APPDATA is not sufficient. --- scripts/bootstrap.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/bootstrap.bat b/scripts/bootstrap.bat index b72aab1f..c506d52d 100644 --- a/scripts/bootstrap.bat +++ b/scripts/bootstrap.bat @@ -15,6 +15,9 @@ set umamba_exists=F set OLD_APPDATA=%APPDATA% set APPDATA=%cd%\installer_files\appdata +@mkdir %cd%\profile +set USERPROFILE=%cd%\profile + @rem figure out whether git and conda needs to be installed if exist "%INSTALL_ENV_DIR%" set PATH=%INSTALL_ENV_DIR%;%INSTALL_ENV_DIR%\Library\bin;%INSTALL_ENV_DIR%\Scripts;%INSTALL_ENV_DIR%\Library\usr\bin;%PATH%