| 19 |
|
|
| 20 |
|
import net.oni2.aeinstaller.backend.Paths; |
| 21 |
|
import net.oni2.aeinstaller.backend.Settings; |
| 22 |
+ |
import net.oni2.aeinstaller.backend.SizeFormatter; |
| 23 |
|
import net.oni2.aeinstaller.backend.Settings.Platform; |
| 24 |
|
import net.oni2.aeinstaller.backend.StuffToRefactorLater; |
| 25 |
|
import net.oni2.aeinstaller.backend.depot.DepotManager; |
| 136 |
|
System.out.println(".NET: " + OniSplit.isDotNETInstalled()); |
| 137 |
|
System.out.println("Globalized:" + Installer.isEditionInitialized()); |
| 138 |
|
|
| 139 |
+ |
System.out.println("Free space on temp: " + SizeFormatter.format(Paths.getTempPath().getUsableSpace(), 3)); |
| 140 |
+ |
System.out.println("Free space on Jar: " + SizeFormatter.format(Paths.getInstallerPath().getUsableSpace(), 3)); |
| 141 |
+ |
|
| 142 |
|
if (!StuffToRefactorLater.verifyRunningDirectory()) { |
| 143 |
|
JOptionPane.showMessageDialog(null, |
| 144 |
|
basicBundle.getString("invalidPath.text"), |
| 148 |
|
return; |
| 149 |
|
} |
| 150 |
|
} else { |
| 151 |
< |
// Installer.initializeEdition(); |
| 151 |
> |
Installer.initializeEdition(); |
| 152 |
|
Installer.install(new TreeSet<Mod>()); |
| 153 |
|
} |
| 154 |
|
|