@@ -31,7 +31,7 @@ REM files to be signed
3131
3232set nppBinaries = ..\bin\notepad++.exe ..\bin64\notepad++.exe ..\binarm64\notepad++.exe
3333
34- set componentsBinaries = ..\bin\plugins\Config\nppPluginList.dll ..\bin64\plugins\Config\nppPluginList.dll ..\binarm64\plugins\Config\nppPluginList.dll ..\bin\updater\GUP.exe ..\bin64\updater\GUP.exe ..\binarm64\updater\GUP.exe ..\bin\updater\libcurl.dll ..\bin64\updater\libcurl.dll ..\binarm64\updater\libcurl.dll
34+ set componentsBinaries = ..\bin\plugins\Config\nppPluginList.dll ..\bin64\plugins\Config\nppPluginList.dll ..\binarm64\plugins\Config\nppPluginList.dll ..\bin\updater\GUP.exe ..\bin64\updater\GUP.exe ..\binarm64\updater\GUP.exe
3535
3636set pluginBinaries = ..\bin\plugins\NppExport\NppExport.dll ..\bin64\plugins\NppExport\NppExport.dll ..\binarm64\plugins\NppExport\NppExport.dll ..\bin\plugins\mimeTools\mimeTools.dll ..\bin64\plugins\mimeTools\mimeTools.dll ..\binarm64\plugins\mimeTools\mimeTools.dll ..\bin\plugins\NppConverter\NppConverter.dll ..\bin64\plugins\NppConverter\NppConverter.dll ..\binarm64\plugins\NppConverter\NppConverter.dll
3737
@@ -379,8 +379,6 @@ copy /Y ..\bin\plugins\Config\nppPluginList.dll .\zipped.package.release\plugins
379379If ErrorLevel 1 goto End
380380copy /Y ..\bin\updater\GUP.exe .\zipped.package.release\updater\
381381If ErrorLevel 1 goto End
382- copy /Y ..\bin\updater\libcurl.dll .\zipped.package.release\updater\
383- If ErrorLevel 1 goto End
384382copy /Y ..\bin\updater\gup.xml .\zipped.package.release\updater\
385383If ErrorLevel 1 goto End
386384copy /Y ..\bin\updater\LICENSE .\zipped.package.release\updater\
@@ -397,8 +395,6 @@ copy /Y ..\bin64\plugins\Config\nppPluginList.dll .\zipped.package.release64\plu
397395If ErrorLevel 1 goto End
398396copy /Y ..\bin64\updater\GUP.exe .\zipped.package.release64\updater\
399397If ErrorLevel 1 goto End
400- copy /Y ..\bin64\updater\libcurl.dll .\zipped.package.release64\updater\
401- If ErrorLevel 1 goto End
402398copy /Y ..\bin64\updater\gup.xml .\zipped.package.release64\updater\
403399If ErrorLevel 1 goto End
404400copy /Y ..\bin64\updater\LICENSE .\zipped.package.release64\updater\
@@ -415,8 +411,6 @@ copy /Y ..\binarm64\plugins\Config\nppPluginList.dll .\zipped.package.releaseArm
415411If ErrorLevel 1 goto End
416412copy /Y ..\binarm64\updater\GUP.exe .\zipped.package.releaseArm64\updater\
417413If ErrorLevel 1 goto End
418- copy /Y ..\binarm64\updater\libcurl.dll .\zipped.package.releaseArm64\updater\
419- If ErrorLevel 1 goto End
420414copy /Y ..\binarm64\updater\gup.xml .\zipped.package.releaseArm64\updater\
421415If ErrorLevel 1 goto End
422416copy /Y ..\binarm64\updater\LICENSE .\zipped.package.releaseArm64\updater\
@@ -465,9 +459,12 @@ If ErrorLevel 1 goto End
465459rem set var locally in this batch file
466460setlocal
467461
462+ cd build
463+
468464:: Get npp.6.9.Installer.exe in %nppInstallerVar%
469465for %%f in (npp.*.Installer.exe) do set " nppInstallerVar = %%f "
470466
467+
471468rem get the version string "6.9" in %VERSION%
472469set " VERSION = %nppInstallerVar:npp. =% "
473470rem replace "npp." with nothing in "npp.6.9.Installer.exe" - now VERSION is "6.9.Installer.exe"
@@ -479,7 +476,7 @@ rem replace ".Installer.exe" with nothing in "6.9.Installer.exe" - now VERSION i
479476
480477rem echo %VERSION%
481478
482- cd .\msi\
479+ cd .. \msi\
483480dotnet build -c release -p:OutputPath=..\build\ -p:DefineConstants=Version=%VERSION%
484481If ErrorLevel 1 goto End
485482
@@ -525,6 +522,6 @@ If ErrorLevel 1 goto End
525522
526523endlocal
527524
528- cd ..
525+ REM PACKACKAGES BUILT SUCCESSFUL!
529526
530527:End
0 commit comments