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