ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/installer2/src/net/oni2/aeinstaller/AEInstaller2.java
(Generate patch)

Comparing java/installer2/src/net/oni2/aeinstaller/AEInstaller2.java (file contents):
Revision 735 by alloc, Fri Mar 22 02:10:30 2013 UTC vs.
Revision 749 by alloc, Tue Mar 26 17:26:41 2013 UTC

# Line 24 | Line 24 | import net.oni2.SettingsManager;
24   import net.oni2.aeinstaller.backend.CaseInsensitiveFile;
25   import net.oni2.aeinstaller.backend.Paths;
26   import net.oni2.aeinstaller.backend.SizeFormatter;
27 import net.oni2.aeinstaller.backend.depot.DepotManager;
28 import net.oni2.aeinstaller.backend.oni.Installer;
27   import net.oni2.aeinstaller.backend.oni.OniSplit;
28 + import net.oni2.aeinstaller.backend.oni.management.Installer;
29   import net.oni2.aeinstaller.gui.HTMLLinkLabel;
30   import net.oni2.aeinstaller.gui.MainWin;
31 + import net.oni2.moddepot.DepotManager;
32   import net.oni2.platformtools.PlatformInformation;
33   import net.oni2.platformtools.PlatformInformation.Platform;
34   import net.oni2.platformtools.applicationinvoker.ApplicationInvoker;
# Line 116 | Line 116 | public class AEInstaller2 {
116  
117                  boolean debug = false;
118                  boolean noCacheUpdate = false;
119 +                boolean offline = false;
120                  for (String a : args) {
121                          if (a.equalsIgnoreCase("-debug"))
122                                  debug = true;
123                          if (a.equalsIgnoreCase("-nocacheupdate"))
124                                  noCacheUpdate = true;
125 +                        if (a.equalsIgnoreCase("-offline"))
126 +                                offline = true;
127                  }
128                  if (!debug) {
129                          try {
# Line 238 | Line 241 | public class AEInstaller2 {
241                          }
242                  }
243  
241                boolean offline = false;
242                for (String a : args)
243                        if (a.equalsIgnoreCase("-offline"))
244                                offline = true;
244                  if (!offline) {
245                          offline = !DepotManager.getInstance().checkConnection();
246                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)