| # | Line 8 | Line 8 | import javax.swing.JFrame; | |
|---|---|---|
| 8 | import javax.swing.SwingUtilities; | |
| 9 | import javax.swing.UIManager; | |
| 10 | ||
| 11 | + | import net.oni2.ProxySettings; |
| 12 | import net.oni2.aeinstaller.updater.backend.Paths; | |
| 13 | import net.oni2.aeinstaller.updater.gui.MainWin; | |
| 14 | ||
| # | Line 40 | Line 41 | public class AEInstaller2Updater { | |
| 41 | } | |
| 42 | } | |
| 43 | ||
| 44 | + | if (Paths.getProxySettingsFilename().exists()) { |
| 45 | + | ProxySettings.deserializeFromFile(Paths.getProxySettingsFilename()); |
| 46 | + | } |
| 47 | + | |
| 48 | System.setProperty("networkaddress.cache.ttl", "5"); | |
| 49 | System.setProperty("networkaddress.cache.negative.ttl", "1"); | |
| 50 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |