Installation: Let users decide to keep or not HexEdit plugin
Fix #10828, close #10972
This commit is contained in:
parent
5d1bbc05ef
commit
3c89b57167
|
@ -233,11 +233,12 @@ Function removeUnstablePlugins
|
|||
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
|
||||
IfFileExists "$INSTDIR\plugins\HexEditor\HexEditor.dll" 0 noDeleteHEPlugin
|
||||
MessageBox MB_YESNO "HexEditor plugin is unstable, we suggest you to remove it.$\nRemove HexEditor plugin?" /SD IDYES IDYES doDeleteHEPlugin IDNO noDeleteHEPlugin ;IDYES remove
|
||||
doDeleteHEPlugin:
|
||||
Rename "$INSTDIR\plugins\HexEditor\HexEditor.dll" "$INSTDIR\plugins\disabled\HexEditor.dll"
|
||||
Delete "$INSTDIR\plugins\HexEditor\HexEditor.dll"
|
||||
HexEditorTestEnd:
|
||||
noDeleteHEPlugin:
|
||||
|
||||
FunctionEnd
|
||||
|
||||
|
|
Loading…
Reference in New Issue