Add DSpellCheck plugin into distribution

This commit is contained in:
Don HO 2017-11-23 22:44:22 +01:00
parent d975bc24a1
commit 4005bf4182
3 changed files with 24 additions and 24 deletions

View File

@ -77,7 +77,7 @@ SectionGroup "Plugins" Plugins
File "..\bin\plugins\NppConverter.dll"
!endif
${MementoSectionEnd}
/*
${MementoSection} "Decent Spell-Checking" DSpellCheck
Delete "$INSTDIR\plugins\DSpellCheck.dll"
SetOutPath "$INSTDIR\plugins"
@ -91,7 +91,7 @@ SectionGroup "Plugins" Plugins
File "..\bin\plugins\Config\Hunspell\en_US.dic"
!endif
${MementoSectionEnd}
*/
SectionGroupEnd
${MementoSection} "Auto-Updater" AutoUpdater

View File

@ -51,10 +51,10 @@ If ErrorLevel 1 goto End
signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin\plugins\NppConverter.dll
signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin64\plugins\NppConverter.dll
If ErrorLevel 1 goto End
REM signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin\plugins\DSpellCheck.dll
REM If ErrorLevel 1 goto End
REM signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin64\plugins\DSpellCheck.dll
REM If ErrorLevel 1 goto End
signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin\plugins\DSpellCheck.dll
If ErrorLevel 1 goto End
signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin64\plugins\DSpellCheck.dll
If ErrorLevel 1 goto End
:NoSign
@ -191,27 +191,27 @@ copy /Y "..\bin\plugins\mimeTools.dll" .\zipped.package.release\plugins\
If ErrorLevel 1 goto End
copy /Y "..\bin\plugins\NppConverter.dll" .\zipped.package.release\plugins\
If ErrorLevel 1 goto End
REM copy /Y "..\bin\plugins\DSpellCheck.dll" .\zipped.package.release\plugins\
REM If ErrorLevel 1 goto End
REM mkdir .\zipped.package.release\plugins\Config\Hunspell
REM If ErrorLevel 1 goto End
REM copy /Y "..\bin\plugins\Config\Hunspell\en_US.aff" .\zipped.package.release\plugins\Config\Hunspell\
REM If ErrorLevel 1 goto End
REM copy /Y "..\bin\plugins\Config\Hunspell\en_US.dic" .\zipped.package.release\plugins\Config\Hunspell\
REM If ErrorLevel 1 goto End
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\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\
If ErrorLevel 1 goto End
copy /Y "..\bin64\plugins\mimeTools.dll" .\zipped.package.release64\plugins\
If ErrorLevel 1 goto End
copy /Y "..\bin64\plugins\NppConverter.dll" .\zipped.package.release64\plugins\
If ErrorLevel 1 goto End
REM copy /Y "..\bin64\plugins\DSpellCheck.dll" .\zipped.package.release64\plugins\
REM If ErrorLevel 1 goto End
REM mkdir .\zipped.package.release64\plugins\Config\Hunspell
REM If ErrorLevel 1 goto End
REM copy /Y "..\bin64\plugins\Config\Hunspell\en_US.aff" .\zipped.package.release64\plugins\Config\Hunspell\
REM If ErrorLevel 1 goto End
REM copy /Y "..\bin64\plugins\Config\Hunspell\en_US.dic" .\zipped.package.release64\plugins\Config\Hunspell\
REM If ErrorLevel 1 goto End
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 "..\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\
If ErrorLevel 1 goto End
rem localizations

View File

@ -71,7 +71,7 @@ void Notepad_plus::command(int id)
{
fileNew();
/*
///*
bool isFirstTime = ! _pluginsAdminDlg.isCreated();
_pluginsAdminDlg.setPluginsManager(&_pluginsManager);
_pluginsAdminDlg.doDialog(_nativeLangSpeaker.isRTL());
@ -80,7 +80,7 @@ void Notepad_plus::command(int id)
_nativeLangSpeaker.changeConfigLang(_pluginsAdminDlg.getHSelf());
_pluginsAdminDlg.updateListAndLoadFromJson();
}
*/
//*/
}
break;