| 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; |
| 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 { |
| 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 |
|
} |