diff --git a/PowerEditor/installer/packageAll.bat b/PowerEditor/installer/packageAll.bat index 0adda3f6..a634ab31 100644 --- a/PowerEditor/installer/packageAll.bat +++ b/PowerEditor/installer/packageAll.bat @@ -175,6 +175,7 @@ If ErrorLevel 1 goto End copy /Y ..\bin\SciLexer.dll .\zipped.package.release\ If ErrorLevel 1 goto End + rem Basic Copy needed files into Notepad++ 64-bit package folders copy /Y ..\bin\license.txt .\zipped.package.release64\ If ErrorLevel 1 goto End @@ -253,6 +254,39 @@ If ErrorLevel 1 goto End copy /Y ".\themes\*.xml" .\zipped.package.release64\themes\ If ErrorLevel 1 goto End +rem Plugins Admin +rem for disabling auto-updater +copy /Y ..\src\config.4zipPackage.xml .\zipped.package.release\config.xml +If ErrorLevel 1 goto End +copy /Y ..\bin\nppPluginList.dll .\zipped.package.release\plugins\Config\ +If ErrorLevel 1 goto End +copy /Y ..\bin\updater\GUP.exe .\zipped.package.release\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin\updater\libcurl.dll .\zipped.package.release\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin\updater\gup.xml .\zipped.package.release\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin\updater\LICENSE .\zipped.package.release\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin\updater\README.md .\zipped.package.release\updater\ +If ErrorLevel 1 goto End + +rem For disabling auto-updater +copy /Y ..\src\config.4zipPackage.xml .\zipped.package.release64\config.xml +If ErrorLevel 1 goto End +copy /Y ..\bin64\nppPluginList.dll .\zipped.package.release64\plugins\Config\ +If ErrorLevel 1 goto End +copy /Y ..\bin64\updater\GUP.exe .\zipped.package.release64\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin64\updater\libcurl.dll .\zipped.package.release64\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin64\updater\gup.xml .\zipped.package.release64\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin64\updater\LICENSE .\zipped.package.release64\updater\ +If ErrorLevel 1 goto End +copy /Y ..\bin64\updater\README.md .\zipped.package.release64\updater\ +If ErrorLevel 1 goto End + "C:\Program Files\7-Zip\7z.exe" a -r .\build\npp.bin.minimalist.7z .\minimalist\* diff --git a/PowerEditor/src/config.4zipPackage.xml b/PowerEditor/src/config.4zipPackage.xml new file mode 100644 index 00000000..dcc45690 --- /dev/null +++ b/PowerEditor/src/config.4zipPackage.xml @@ -0,0 +1,58 @@ + + + + standard + show + + vertical + hide + + + yes + yes + no + no + yes + yes + yes + yes + + + + + yes + yes + 2 + + + + + + show + + + + + + + + + + + yes + + + + + + + + + + + + + + + +