mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Changed package_index and library_index json urls to use download.php proxy
Installed a ESC key listener: it allows to close the dialog pressing the ESC key
This commit is contained in:
@ -172,7 +172,7 @@ public class ContributionInstaller {
|
||||
final MultiStepProgress progress = new MultiStepProgress(1);
|
||||
final String statusText = _("Downloading platforms index...");
|
||||
|
||||
URL url = new URL("http://arduino.cc/package_index.json");
|
||||
URL url = new URL("http://arduino.cc/download.php?f=/packages/package_index.json");
|
||||
File outputFile = indexer.getIndexFile();
|
||||
File tmpFile = new File(outputFile.getAbsolutePath() + ".tmp");
|
||||
downloader.download(url, tmpFile, progress, statusText);
|
||||
|
Reference in New Issue
Block a user