Ignore:
Timestamp:
May 3, 2013, 2:25:21 PM (12 years ago)
Author:
alloc
Message:

AEI2.08, AEIUpdater:

Location:
java/AEInstaller2-Updater
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • java/AEInstaller2-Updater/.classpath

    r734 r852  
    55        <classpathentry combineaccessrules="false" kind="src" path="/SVNAccess"/>
    66        <classpathentry combineaccessrules="false" kind="src" path="/PlatformTools"/>
     7        <classpathentry combineaccessrules="false" kind="src" path="/ProxySettings"/>
    78        <classpathentry kind="output" path="bin"/>
    89</classpath>
  • java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/AEInstaller2Updater.java

    r777 r852  
    99import javax.swing.UIManager;
    1010
     11import net.oni2.ProxySettings;
    1112import net.oni2.aeinstaller.updater.backend.Paths;
    1213import net.oni2.aeinstaller.updater.gui.MainWin;
     
    4142                }
    4243
     44                if (Paths.getProxySettingsFilename().exists()) {
     45                        ProxySettings.deserializeFromFile(Paths.getProxySettingsFilename());
     46                }
     47
    4348                System.setProperty("networkaddress.cache.ttl", "5");
    4449                System.setProperty("networkaddress.cache.negative.ttl", "1");
  • java/AEInstaller2-Updater/src/net/oni2/aeinstaller/updater/backend/Paths.java

    r777 r852  
    3333
    3434        /**
     35         * @return Proxy settings filename of AEI
     36         */
     37        public static File getProxySettingsFilename() {
     38                return new File(getPrefsPath(), "AEI-ProxySettings.xml");
     39        }
     40
     41        /**
    3542         * Get the preferences path
    3643         *
Note: See TracChangeset for help on using the changeset viewer.