Skip to content

Commit

Permalink
Also show the message if VS Code Insiders is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Apr 19, 2018
1 parent 98c62cf commit a19aa9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ begin
Top:=TopOfLabels;
CbbEditor.Items.Add('Use the Nano editor by default');
Data:='<RED>(NEW!)</RED> <A HREF=https://www.nano-editor.org/dist/v2.8/nano.html>GNU nano</A> 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;
Expand Down

0 comments on commit a19aa9e

Please # to comment.