Skip to content

Commit 9a9b30d

Browse files
committed
installer: include batch files in filter for custom editor
Some editors like Atom and VS Code are intended to be called through a batch wrapper script. Let's make it easier to use one of those as a custom editor. Signed-off-by: Matthias Aßhauer <[email protected]>
1 parent ddde45b commit 9a9b30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/install.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ begin
18361836
CbbEditor.Items.Add('Select other editor as Git'+#39+'s default editor');
18371837
CreateItemDescription(EditorPage,'Use this option to select the path to Git'+#39+'s default editor.',Top,Left,LblEditor[GE_CustomEditor],False);
18381838
1839-
EditorPage.add('Location of editor (plus command-line options, if necessary):','Executable files|*.exe|All files|*.*','.exe');
1839+
EditorPage.add('Location of editor (plus command-line options, if necessary):','Executable files|*.exe;*.cmd;*.bat|All files|*.*','.exe');
18401840
TestCustomEditorButton:=TButton.Create(EditorPage);
18411841
with TestCustomEditorButton do begin
18421842
Parent:=EditorPage.Surface;

0 commit comments

Comments
 (0)