Browse Source

Add tabContextMenu_example.xml into binary packages

pull/12672/head
Don Ho 2 years ago
parent
commit
58416114da
  1. 1
      PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh
  2. 2
      PowerEditor/installer/nsisInclude/uninstall.nsh
  3. 6
      PowerEditor/installer/packageAll.bat
  4. 6
      PowerEditor/src/tabContextMenu_example.xml

1
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\"

2
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"

6
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\

6
PowerEditor/src/tabContextMenu_example.xml

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
By modifying this file, you can customize your context menu popuped as right clicking on the tab zone.
It may be more convinient to access to your frequent used commands via context menu than via the top menu.
By modifying this file and rename it to "tabContextMenu_example.xml", you can customize your context menu popuped as right clicking on the tab zone.
It may be more convenient to access to your frequent used commands via context menu than via the top menu.
Please check "How to Customize the Context Menu" on:
https://npp-user-manual.org/docs/config-files/#the-context-menu-contextmenu-xml
https://npp-user-manual.org/docs/config-files/#the-context-menu-tabcontextmenu-xml
-->
<NotepadPlus>
<TabContextMenu>

Loading…
Cancel
Save