File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/update Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ protected Control createDialogArea(Composite parent)
73
73
data .widthHint = convertHorizontalDLUsToPixels (IDialogConstants .ENTRY_FIELD_WIDTH );
74
74
text .setLayoutData (data );
75
75
text .setText (idfDirPath != null ? idfDirPath : StringUtil .EMPTY );
76
- text .setMessage ("/Users/esp/esp-idf" ); //$NON-NLS-1$
76
+ text .setMessage (Platform . getOS (). equals ( Platform . OS_WIN32 ) ? "C: \\ User \\ esp \\ esp-idf" : "/Users/esp/esp-idf" ); //$NON-NLS-1$
77
77
78
78
Button button = new Button (composite , SWT .PUSH );
79
79
button .setText (Messages .DirectorySelectionDialog_Browse );
@@ -102,7 +102,7 @@ public void widgetSelected(SelectionEvent event)
102
102
data .widthHint = convertHorizontalDLUsToPixels (IDialogConstants .ENTRY_FIELD_WIDTH );
103
103
gitLocationtext .setLayoutData (data );
104
104
gitLocationtext .setText (gitPath != null ? gitPath : StringUtil .EMPTY );
105
- gitLocationtext .setMessage ("/usr/local/bin/git" ); //$NON-NLS-1$
105
+ gitLocationtext .setMessage (Platform . getOS (). equals ( Platform . OS_WIN32 ) ? "C: \\ Program Files \\ Git \\ bin \\ git.exe" : "/usr/local/bin/git" ); //$NON-NLS-1$
106
106
107
107
Button gitBrowseBtn = new Button (composite , SWT .PUSH );
108
108
gitBrowseBtn .setText (Messages .DirectorySelectionDialog_Browse );
You can’t perform that action at this time.
0 commit comments