File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,9 @@ rem prepare for Opcache
66
66
if " %OPCACHE% " equ " 1" set OPCACHE_OPTS = -d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 -d opcache.jit_buffer_size=16M
67
67
68
68
rem prepare for enchant
69
- mkdir c:\enchant_plugins
69
+ mkdir C:\usr\local\lib\enchant-2
70
70
if %errorlevel% neq 0 exit /b 3
71
- copy %DEPS_DIR% \bin\libenchant_ispell.dll c:\enchant_plugins
72
- if %errorlevel% neq 0 exit /b 3
73
- copy %DEPS_DIR% \bin\libenchant_myspell.dll c:\enchant_plugins
71
+ copy %DEPS_DIR% \bin\libenchant2_hunspell.dll C:\usr\local\lib\enchant-2
74
72
if %errorlevel% neq 0 exit /b 3
75
73
reg add HKEY_CURRENT_USER\SOFTWARE\Enchant\Config /v Module_Dir /t REG_SZ /d c:\enchant_plugins
76
74
if %errorlevel% neq 0 exit /b 3
@@ -88,8 +86,8 @@ if not exist "%PHP_BUILD_CACHE_ENCHANT_DICT_DIR%\en_US.aff" (
88
86
del /q dict.zip
89
87
popd
90
88
)
91
- mkdir %USERPROFILE % \enchant\myspell
92
- copy %PHP_BUILD_CACHE_ENCHANT_DICT_DIR% \* %USERPROFILE % \enchant\myspell
89
+ mkdir %LOCALAPPDATA % \enchant\hunspell
90
+ copy %PHP_BUILD_CACHE_ENCHANT_DICT_DIR% \* %LOCALAPPDATA % \enchant\hunspell
93
91
94
92
mkdir c:\tests_tmp
95
93
You can’t perform that action at this time.
0 commit comments