Enhance Notepad++ installation packaging

Use GUP to retrieve GUP release from its website while doing Notepad++ release.
pull/4478/merge
Don HO 7 years ago
parent 07b7653163
commit 9391fa764f

4
.gitignore vendored

@ -66,9 +66,11 @@ PowerEditor/bin/session.xml
PowerEditor/bin/functionList.xml PowerEditor/bin/functionList.xml
PowerEditor/bin/shortcuts.xml PowerEditor/bin/shortcuts.xml
PowerEditor/bin/backup/ PowerEditor/bin/backup/
PowerEditor/bin/localization PowerEditor/bin/localization/
PowerEditor/bin/plugins/ PowerEditor/bin/plugins/
PowerEditor/bin/updater/
PowerEditor/bin64/ PowerEditor/bin64/
PowerEditor/installer/bin/wingup/
PowerEditor/installer/build/ PowerEditor/installer/build/
PowerEditor/installer/minimalist/ PowerEditor/installer/minimalist/
PowerEditor/installer/minimalist64/ PowerEditor/installer/minimalist64/

@ -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

Loading…
Cancel
Save