Changeset 599 for AE/installer2/src
- Timestamp:
- Jan 4, 2013, 1:41:22 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/AEInstaller.properties
r598 r599 1 1 appname=AE Installer 2 2 appversion=0.4 02 appversion=0.41 3 3 4 4 invalidPath.title=Wrong directory -
AE/installer2/src/net/oni2/aeinstaller/AEInstaller2.java
r598 r599 20 20 import net.oni2.aeinstaller.backend.Paths; 21 21 import net.oni2.aeinstaller.backend.Settings; 22 import net.oni2.aeinstaller.backend.SizeFormatter; 22 23 import net.oni2.aeinstaller.backend.Settings.Platform; 23 24 import net.oni2.aeinstaller.backend.StuffToRefactorLater; … … 136 137 System.out.println("Globalized:" + Installer.isEditionInitialized()); 137 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 138 142 if (!StuffToRefactorLater.verifyRunningDirectory()) { 139 143 JOptionPane.showMessageDialog(null, … … 145 149 } 146 150 } else { 147 //Installer.initializeEdition();151 Installer.initializeEdition(); 148 152 Installer.install(new TreeSet<Mod>()); 149 153 } -
AE/installer2/src/net/oni2/aeinstaller/backend/oni/Installer.java
r598 r599 228 228 else if (f.getName().startsWith("ONSK") 229 229 || f.getName().startsWith("TXMP")) { 230 // TODO ? new File(tempFolder, "TexFix").mkdir();231 230 File level0File = new File(level0Folder, f.getName()); 232 231 moveFileToTargetOrDelete(f, level0File); … … 240 239 || f.getName().startsWith("TRSC") 241 240 || f.getName().startsWith("TRAS")) { 242 // File level0FolderCharactersVanilla = new File(243 // level0FolderVanilla, "characters");244 // File level0FileVanilla = new File(245 // level0FolderCharactersVanilla, f.getName());246 // moveFileToTargetOrDelete(f, level0FileVanilla);247 // TODO: does this work?248 241 File level0File = new File(level0Folder, f.getName()); 249 242 moveFileToTargetOrDelete(f, level0File); … … 273 266 f.delete(); 274 267 } 275 // TODO: needed? ONWC to GDF instead? 276 // Move matching files to *VANILLADATS*/level0_Final/level0_Final/ 277 // fix for buggy ONWC overriding 268 // Move matching files to /level0_Final/ 278 269 else if (f.getName().startsWith("ONWC")) { 279 // File level0FileVanilla = new File(level0FolderVanilla,280 // f.getName());281 // moveFileToTargetOrDelete(f, level0FileVanilla);282 // TODO: does this work?283 270 File level0File = new File(level0Folder, f.getName()); 284 271 moveFileToTargetOrDelete(f, level0File);
Note:
See TracChangeset
for help on using the changeset viewer.