Enforce utf-8 in install of settings.txt. Resolves #726.

This commit is contained in:
Corey Butler
2024-11-13 22:18:57 -06:00
parent 7af9934eaf
commit b7a668787a

View File

@@ -11,6 +11,8 @@ for /f "skip=2 tokens=2,*" %%A in ('reg query "HKLM\System\CurrentControlSet\Con
setx /M PATH "%%B;%%NVM_HOME%%;%%NVM_SYMLINK%%"
)
chcp 65001 > nul
if exist "%SYSTEMDRIVE%\Program Files (x86)\" (
set SYS_ARCH=64
) else (
@@ -19,4 +21,5 @@ set SYS_ARCH=32
(echo root: %NVM_HOME% && echo path: %NVM_SYMLINK% && echo arch: %SYS_ARCH% && echo proxy: none) > %NVM_HOME%\settings.txt
notepad %NVM_HOME%\settings.txt
@echo on