From a19aa9ee98b452dc19666b4507a02eba0c00c796 Mon Sep 17 00:00:00 2001 From: Lemon <11861253+justalemon@users.noreply.github.com> Date: Thu, 19 Apr 2018 06:21:59 -0300 Subject: [PATCH] Also show the message if VS Code Insiders is not available --- installer/install.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/install.iss b/installer/install.iss index aab5a8f00c..e7f0611b13 100644 --- a/installer/install.iss +++ b/installer/install.iss @@ -1142,7 +1142,7 @@ begin Top:=TopOfLabels; CbbEditor.Items.Add('Use the Nano editor by default'); Data:='(NEW!) GNU nano is a small and friendly text editor running in the console'+#13+'window.'; - if (not EditorAvailable[GE_NotepadPlusPlus] and not EditorAvailable[GE_VisualStudioCode]) then + if (not EditorAvailable[GE_NotepadPlusPlus] and not EditorAvailable[GE_VisualStudioCode]) and not EditorAvailable[GE_VisualStudioCodeInsiders]) then Data:=Data+#13+#13+'This is the recommended option for end users if no GUI editors are installed.'; CreateItemDescription(EditorPage,Data,Top,Left,LblEditor[GE_Nano],False); EditorAvailable[GE_Nano]:=True;