File tree 1 file changed +6
-1
lines changed
arduino-core/src/cc/arduino
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -80,10 +80,15 @@ public class Constants {
80
80
String externalLibraryIndexUrl = System .getProperty ("LIBRARY_INDEX_URL" );
81
81
if (externalLibraryIndexUrl != null && !"" .equals (externalLibraryIndexUrl )) {
82
82
LIBRARY_INDEX_URL = externalLibraryIndexUrl ;
83
+ LIBRARY_INDEX_URL_GZ = "" ;
84
+ String externalLibraryIndexUrlGz = System .getProperty ("LIBRARY_INDEX_URL_GZ" );
85
+ if (externalLibraryIndexUrlGz != null && !"" .equals (externalLibraryIndexUrlGz )) {
86
+ LIBRARY_INDEX_URL_GZ = externalLibraryIndexUrlGz ;
87
+ }
83
88
} else {
84
89
LIBRARY_INDEX_URL = "http://downloads.arduino.cc/libraries/library_index.json" ;
90
+ LIBRARY_INDEX_URL_GZ = "http://downloads.arduino.cc/libraries/library_index.json.gz" ;
85
91
}
86
- LIBRARY_INDEX_URL_GZ = "http://downloads.arduino.cc/libraries/library_index.json.gz" ;
87
92
}
88
93
89
94
}
You can’t perform that action at this time.
0 commit comments