Ignore:
Timestamp:
Jan 10, 2013, 5:25:51 PM (12 years ago)
Author:
alloc
Message:

AEI2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AE/installer2/src/net/oni2/aeinstaller/backend/oni/Installer.java

    r602 r603  
    272272                                FileUtils.copyFile(keyConfVanilla, keyConfEdition);
    273273
    274                         // TODO: FileUtils.deleteDirectory(init);
     274                        FileUtils.deleteDirectory(init);
     275                       
    275276                        Date end = new Date();
    276277                        log.println("Initialization ended at " + sdf.format(end));
     
    384385                }
    385386        }
     387
     388        /**
     389         * Verify that the Edition is within a subfolder to vanilla Oni (..../Oni/Edition/AEInstaller)
     390         * @return true if GDF can be found in the parent's parent-path
     391         */
     392        public static boolean verifyRunningDirectory() {
     393                return Paths.getVanillaGDF().exists() && Paths.getVanillaGDF().isDirectory();
     394        }
    386395}
Note: See TracChangeset for help on using the changeset viewer.