From 219dfda6b35af56753402c3b481804c6ed7085d1 Mon Sep 17 00:00:00 2001 From: Don HO Date: Sun, 30 May 2021 11:51:25 +0200 Subject: [PATCH] Remove HexEdit via installer due to its crash Ref: https://github.com/chcg/NPP_HexEdit/issues/51 --- PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh b/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh index 6b3a09601..e7563ddd6 100644 --- a/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh +++ b/PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh @@ -227,8 +227,15 @@ Function removeUnstablePlugins MessageBox MB_OK "Due to NppSaveAsAdmin plugin's incompatibility issue in version $R0, NppSaveAsAdmin.dll will be deleted. Use Plugins Admin to add back (the latest version of) NppSaveAsAdmin." /SD IDOK Rename "$INSTDIR\plugins\NppSaveAsAdmin\NppSaveAsAdmin.dll" "$INSTDIR\plugins\disabled\NppSaveAsAdmin.dll" Delete "$INSTDIR\plugins\NppSaveAsAdmin\NppSaveAsAdmin.dll" - NppSaveAsAdminTestEnd: + + ; https://github.com/chcg/NPP_HexEdit/issues/51 + IfFileExists "$INSTDIR\plugins\HexEditor\HexEditor.dll" 0 HexEditorTestEnd + MessageBox MB_OK "Due to HexEditor plugin's crash issue on Notepad++ v8 (and later versions), HexEditor.dll will be removed." /SD IDOK + Rename "$INSTDIR\plugins\HexEditor\HexEditor.dll" "$INSTDIR\plugins\disabled\HexEditor.dll" + Delete "$INSTDIR\plugins\HexEditor\HexEditor.dll" + HexEditorTestEnd: + FunctionEnd Function removeOldContextMenu