From 58416114da14536dcc7a8ad36010da3382366ba6 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Mon, 19 Dec 2022 03:34:24 +0100 Subject: [PATCH] Add tabContextMenu_example.xml into binary packages --- PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh | 1 + PowerEditor/installer/nsisInclude/uninstall.nsh | 2 ++ PowerEditor/installer/packageAll.bat | 6 ++++++ PowerEditor/src/tabContextMenu_example.xml | 6 +++--- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh b/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh index fdc6523c1..9fc9260e9 100644 --- a/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh +++ b/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh @@ -74,6 +74,7 @@ Function copyCommonFiles SetOverwrite off SetOutPath "$UPDATE_PATH\" File "..\bin\contextMenu.xml" + File "..\src\tabContextMenu_example.xml" SetOverwrite on SetOutPath "$INSTDIR\" diff --git a/PowerEditor/installer/nsisInclude/uninstall.nsh b/PowerEditor/installer/nsisInclude/uninstall.nsh index 833fe00f3..d77fdea9a 100644 --- a/PowerEditor/installer/nsisInclude/uninstall.nsh +++ b/PowerEditor/installer/nsisInclude/uninstall.nsh @@ -223,6 +223,7 @@ Section Uninstall Delete "$INSTDIR\langs.xml" Delete "$INSTDIR\stylers.xml" Delete "$INSTDIR\contextMenu.xml" + Delete "$INSTDIR\tabContextMenu.xml" Delete "$INSTDIR\shortcuts.xml" Delete "$INSTDIR\functionList.xml" Delete "$INSTDIR\session.xml" @@ -234,6 +235,7 @@ Section Uninstall Delete "$INSTDIR\config.model.xml" Delete "$INSTDIR\langs.model.xml" Delete "$INSTDIR\stylers.model.xml" + Delete "$INSTDIR\tabContextMenu_example.xml" Delete "$INSTDIR\stylers_remove.xml" Delete "$INSTDIR\localization\english.xml" Delete "$INSTDIR\LINEDRAW.TTF" diff --git a/PowerEditor/installer/packageAll.bat b/PowerEditor/installer/packageAll.bat index b17fa504b..050499331 100644 --- a/PowerEditor/installer/packageAll.bat +++ b/PowerEditor/installer/packageAll.bat @@ -101,6 +101,8 @@ copy /Y ..\src\stylers.model.xml .\minimalist\ If ErrorLevel 1 goto End copy /Y ..\src\contextMenu.xml .\minimalist\ If ErrorLevel 1 goto End +copy /Y ..\src\tabContextMenu_example.xml .\minimalist\ +If ErrorLevel 1 goto End copy /Y ..\src\shortcuts.xml .\minimalist\ If ErrorLevel 1 goto End copy /Y ..\bin\doLocalConf.xml .\minimalist\ @@ -132,6 +134,8 @@ copy /Y ..\src\stylers.model.xml .\minimalist64\ If ErrorLevel 1 goto End copy /Y ..\src\contextMenu.xml .\minimalist64\ If ErrorLevel 1 goto End +copy /Y ..\src\tabContextMenu_example.xml .\minimalist64\ +If ErrorLevel 1 goto End copy /Y ..\src\shortcuts.xml .\minimalist64\ If ErrorLevel 1 goto End copy /Y ..\bin\doLocalConf.xml .\minimalist64\ @@ -163,6 +167,8 @@ copy /Y ..\src\stylers.model.xml .\minimalistArm64\ If ErrorLevel 1 goto End copy /Y ..\src\contextMenu.xml .\minimalistArm64\ If ErrorLevel 1 goto End +copy /Y ..\src\tabContextMenu_example.xml .\minimalistArm64\ +If ErrorLevel 1 goto End copy /Y ..\src\shortcuts.xml .\minimalistArm64\ If ErrorLevel 1 goto End copy /Y ..\bin\doLocalConf.xml .\minimalistArm64\ diff --git a/PowerEditor/src/tabContextMenu_example.xml b/PowerEditor/src/tabContextMenu_example.xml index 44f010a10..2e129e47e 100644 --- a/PowerEditor/src/tabContextMenu_example.xml +++ b/PowerEditor/src/tabContextMenu_example.xml @@ -1,10 +1,10 @@