File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
io.sloeber.core/src/io/sloeber/core/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ public class Defaults {
32
32
*/
33
33
public static String getPrivateLibraryPath () {
34
34
IPath homPath = new Path (System .getProperty ("user.home" ));
35
- if (SystemUtils .IS_OS_MAC ) {
35
+ if (SystemUtils .IS_OS_MAC || SystemUtils . IS_OS_WINDOWS ) {
36
36
homPath =homPath .append ("Documents" );
37
37
}
38
38
return homPath .append ("Arduino" ).append (LIBRARY_PATH_SUFFIX ).toString ();
39
39
}
40
40
41
41
public static String getPrivateHardwarePath () {
42
42
IPath homPath = new Path (System .getProperty ("user.home" ));
43
- if (SystemUtils .IS_OS_MAC ) {
43
+ if (SystemUtils .IS_OS_MAC || SystemUtils . IS_OS_WINDOWS ) {
44
44
homPath =homPath .append ("Documents" );
45
45
}
46
46
return homPath .append ("Arduino" ).append (Const .ARDUINO_HARDWARE_FOLDER_NAME ).toString ();
You can’t perform that action at this time.
0 commit comments