Disable DSpellCheck by default due to some performance issues
This commit is contained in:
parent
f9c8a0e221
commit
a242214a28
|
@ -105,7 +105,6 @@ page Custom ExtraOptions
|
|||
|
||||
!include "nsisInclude\binariesComponents.nsh"
|
||||
|
||||
|
||||
InstType "Minimalist"
|
||||
|
||||
|
||||
|
@ -187,9 +186,8 @@ FunctionEnd
|
|||
|
||||
|
||||
Section -"Notepad++" mainSection
|
||||
|
||||
Call setPathAndOptions
|
||||
|
||||
Call setPathAndOptions
|
||||
|
||||
${If} $diffArchDir2Remove != ""
|
||||
!insertmacro uninstallRegKey
|
||||
!insertmacro uninstallDir $diffArchDir2Remove
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
; along with this program; if not, write to the Free Software
|
||||
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
|
||||
SectionGroup "Plugins" Plugins
|
||||
SetOverwrite on
|
||||
!ifndef ARCH64
|
||||
|
@ -57,6 +58,8 @@ SectionGroup "Plugins" Plugins
|
|||
${MementoSectionEnd}
|
||||
|
||||
${MementoSection} "Decent Spell-Checking" DSpellCheck
|
||||
Call setPathAndOptions
|
||||
|
||||
Delete "$INSTDIR\plugins\DSpellCheck.dll"
|
||||
SetOutPath "$INSTDIR\plugins"
|
||||
!ifdef ARCH64
|
||||
|
@ -70,6 +73,9 @@ SectionGroup "Plugins" Plugins
|
|||
File "..\bin\plugins\Config\Hunspell\en_US.aff"
|
||||
File "..\bin\plugins\Config\Hunspell\en_US.dic"
|
||||
!endif
|
||||
SetOverwrite off
|
||||
SetOutPath "$UPDATE_PATH\plugins\Config"
|
||||
File "..\bin\plugins\Config\DSpellCheckDefaultDisabled\DSpellCheck.ini"
|
||||
${MementoSectionEnd}
|
||||
|
||||
SectionGroupEnd
|
||||
|
|
|
@ -27,6 +27,14 @@
|
|||
|
||||
Var UPDATE_PATH
|
||||
Function setPathAndOptions
|
||||
${If} $UPDATE_PATH == ""
|
||||
Goto initUpdatePath
|
||||
${ELSE}
|
||||
Goto alreadyDone
|
||||
${EndIf}
|
||||
|
||||
initUpdatePath:
|
||||
|
||||
; Set Section properties
|
||||
SetOverwrite on
|
||||
StrCpy $UPDATE_PATH $INSTDIR
|
||||
|
@ -48,6 +56,8 @@ Function setPathAndOptions
|
|||
IfFileExists $INSTDIR\allowAppDataPlugins.xml 0 +2
|
||||
Delete $INSTDIR\allowAppDataPlugins.xml
|
||||
${EndIf}
|
||||
|
||||
alreadyDone:
|
||||
FunctionEnd
|
||||
|
||||
Function copyCommonFiles
|
||||
|
|
|
@ -195,6 +195,8 @@ copy /Y "..\bin\plugins\DSpellCheck.dll" .\zipped.package.release\plugins\
|
|||
If ErrorLevel 1 goto End
|
||||
mkdir .\zipped.package.release\plugins\Config\Hunspell
|
||||
If ErrorLevel 1 goto End
|
||||
copy /Y "..\bin\plugins\Config\DSpellCheckDefaultDisabled\DSpellCheck.ini" .\zipped.package.release\plugins\Config\
|
||||
If ErrorLevel 1 goto End
|
||||
copy /Y "..\bin\plugins\Config\Hunspell\en_US.aff" .\zipped.package.release\plugins\Config\Hunspell\
|
||||
If ErrorLevel 1 goto End
|
||||
copy /Y "..\bin\plugins\Config\Hunspell\en_US.dic" .\zipped.package.release\plugins\Config\Hunspell\
|
||||
|
@ -208,6 +210,8 @@ copy /Y "..\bin64\plugins\DSpellCheck.dll" .\zipped.package.release64\plugins\
|
|||
If ErrorLevel 1 goto End
|
||||
mkdir .\zipped.package.release64\plugins\Config\Hunspell
|
||||
If ErrorLevel 1 goto End
|
||||
copy /Y "..\bin\plugins\Config\DSpellCheckDefaultDisabled\DSpellCheck.ini" .\zipped.package.release64\plugins\Config\
|
||||
If ErrorLevel 1 goto End
|
||||
copy /Y "..\bin64\plugins\Config\Hunspell\en_US.aff" .\zipped.package.release64\plugins\Config\Hunspell\
|
||||
If ErrorLevel 1 goto End
|
||||
copy /Y "..\bin64\plugins\Config\Hunspell\en_US.dic" .\zipped.package.release64\plugins\Config\Hunspell\
|
||||
|
|
Loading…
Reference in New Issue