Changeset 709 for AE/installer2/src/net


Ignore:
Timestamp:
Mar 21, 2013, 10:40:09 AM (12 years ago)
Author:
alloc
Message:

AEI2: Refactorings for breaking out independent features into libraries

Location:
AE/installer2/src/net/oni2/aeinstaller
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • AE/installer2/src/net/oni2/aeinstaller/AEInstaller2.java

    r699 r709  
    2424import net.oni2.aeinstaller.backend.DotNet;
    2525import net.oni2.aeinstaller.backend.Paths;
    26 import net.oni2.aeinstaller.backend.Settings;
    27 import net.oni2.aeinstaller.backend.Settings.Platform;
    2826import net.oni2.aeinstaller.backend.SizeFormatter;
    2927import net.oni2.aeinstaller.backend.depot.DepotManager;
     
    3230import net.oni2.aeinstaller.gui.HTMLLinkLabel;
    3331import net.oni2.aeinstaller.gui.MainWin;
     32import net.oni2.settingsmanager.Settings;
     33import net.oni2.settingsmanager.Settings.Platform;
    3434
    3535import org.javabuilders.swing.SwingJavaBuilder;
     
    127127
    128128                Settings.setDebug(debug);
    129                 Settings.deserializeFromFile();
     129                Settings.deserializeFromFile(Paths.getSettingsFilename());
    130130                Settings.setDebug(debug);
    131131                Settings.getInstance().setNoCacheUpdateMode(noCacheUpdate);
  • AE/installer2/src/net/oni2/aeinstaller/backend/DotNet.java

    r702 r709  
    66import java.util.Vector;
    77
    8 import net.oni2.aeinstaller.backend.Settings.Architecture;
    9 import net.oni2.aeinstaller.backend.Settings.Platform;
    10 import net.oni2.aeinstaller.backend.appexecution.AppExecution;
    11 import net.oni2.aeinstaller.backend.appexecution.AppExecutionResult;
     8import net.oni2.applicationinvoker.AppExecution;
     9import net.oni2.applicationinvoker.AppExecutionResult;
     10import net.oni2.settingsmanager.Settings;
     11import net.oni2.settingsmanager.Settings.Architecture;
     12import net.oni2.settingsmanager.Settings.Platform;
    1213
    1314/**
  • AE/installer2/src/net/oni2/aeinstaller/backend/Paths.java

    r699 r709  
    55import java.net.URLDecoder;
    66
     7import net.oni2.settingsmanager.Settings;
     8
    79/**
    810 * @author Christian Illy
    911 */
    1012public class Paths {
     13
     14        /**
     15         * @return Mod Depot cache filename
     16         */
     17        public static File getDepotCacheFilename() {
     18                return new File(getPrefsPath(), "ModDepotCache.xml");
     19        }
     20
     21        /**
     22         * @return Settings filename of AEI
     23         */
     24        public static File getSettingsFilename() {
     25                return new File(getPrefsPath(), "AEI-Settings.xml");
     26        }
    1127
    1228        /**
  • AE/installer2/src/net/oni2/aeinstaller/backend/ToolLauncher.java

    r702 r709  
    44import java.util.Vector;
    55
    6 import net.oni2.aeinstaller.backend.Settings.Platform;
    7 import net.oni2.aeinstaller.backend.appexecution.AppExecution;
    86import net.oni2.aeinstaller.backend.packages.Package;
     7import net.oni2.applicationinvoker.AppExecution;
     8import net.oni2.settingsmanager.Settings;
     9import net.oni2.settingsmanager.Settings.Platform;
    910
    1011/**
Note: See TracChangeset for help on using the changeset viewer.