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)
7373 data .widthHint = convertHorizontalDLUsToPixels (IDialogConstants .ENTRY_FIELD_WIDTH );
7474 text .setLayoutData (data );
7575 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$
7777
7878 Button button = new Button (composite , SWT .PUSH );
7979 button .setText (Messages .DirectorySelectionDialog_Browse );
@@ -102,7 +102,7 @@ public void widgetSelected(SelectionEvent event)
102102 data .widthHint = convertHorizontalDLUsToPixels (IDialogConstants .ENTRY_FIELD_WIDTH );
103103 gitLocationtext .setLayoutData (data );
104104 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$
106106
107107 Button gitBrowseBtn = new Button (composite , SWT .PUSH );
108108 gitBrowseBtn .setText (Messages .DirectorySelectionDialog_Browse );
You can’t perform that action at this time.
0 commit comments