|
|
@ -17,8 +17,19 @@ rem along with this program; if not, write to the Free Software
|
|
|
|
rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
|
|
|
|
echo on
|
|
|
|
echo on
|
|
|
|
|
|
|
|
|
|
|
|
if %SIGN% == 0 goto NoSign
|
|
|
|
if %SIGN% == 0 goto NoSign
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rem retrieve GUP release from website while doing Notepad++ release
|
|
|
|
|
|
|
|
set WINGUP_VER=5.0.1
|
|
|
|
|
|
|
|
IF EXIST ".\bin\wingup\GUP.exe" (
|
|
|
|
|
|
|
|
cd .\bin\wingup
|
|
|
|
|
|
|
|
GUP.exe -unzipTo %~dp0\..\bin\updater https://github.com/notepad-plus-plus/wingup/releases/download/v%WINGUP_VER%/wingup.v%WINGUP_VER%.bin.zip
|
|
|
|
|
|
|
|
GUP.exe -unzipTo %~dp0\..\bin64\updater https://github.com/notepad-plus-plus/wingup/releases/download/v%WINGUP_VER%/wingup.v%WINGUP_VER%.bin.x64.zip
|
|
|
|
|
|
|
|
cd ..\..
|
|
|
|
|
|
|
|
) ELSE (
|
|
|
|
|
|
|
|
echo .\wingup\GUP.exe is absent.
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin\notepad++.exe
|
|
|
|
signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin\notepad++.exe
|
|
|
|
If ErrorLevel 1 goto End
|
|
|
|
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\notepad++.exe
|
|
|
|
signtool.exe sign /f %NPP_CERT% /p %NPP_CERT_PWD% /d "Notepad++" /du https://notepad-plus-plus.org/ /t http://timestamp.digicert.com/ ..\bin64\notepad++.exe
|
|
|
|