1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

Boards/Lib managers: use system proxy settings (got rid of our proxy settings

in File > Preferences)
This commit is contained in:
Federico Fissore
2015-06-03 10:24:07 +02:00
parent e9d66015a4
commit 0cb6b48e24
5 changed files with 40 additions and 394 deletions

View File

@ -742,8 +742,10 @@ public class BaseNoGui {
}
static public void main(String args[]) throws Exception {
if (args.length == 0)
if (args.length == 0) {
showError(_("No parameters"), _("No command line parameters found"), null);
}
System.setProperty("java.net.useSystemProxies", "true");
Runtime.getRuntime().addShutdownHook(new Thread(DeleteFilesOnShutdown.INSTANCE));