- Timestamp:
- May 27, 2010, 1:04:56 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/source/installer.cpp
r548 r549 648 648 649 649 ofstream BSLlog("BSL.log"); 650 if(exists("../GameDataFolder/BSLBackup/")) { 651 remove_all("../GameDataFolder/BSLBackup/"); 652 } 653 else { 654 create_directory("../GameDataFolder/BSLBackup/"); 655 } 656 copy("../GameDataFolder/IGMD/", "../GameDataFolder/BSLBackup/"); 650 657 for ( directory_iterator dir_itr( "../GameDataFolder/IGMD/" ), end_itr; 651 658 dir_itr != end_itr; … … 660 667 for (unsigned int j = 0; j < globalPackages.size(); ++j) { //looking in the global packages 661 668 if (globalPackages[j].modStringName == installedMods[i]) { //for a mod that has BSL in it 662 if(globalPackages[j].hasBSL) )break; //skip non-BSL669 if(globalPackages[j].hasBSL) break; //skip non-BSL 663 670 if( exists( "packages/" + globalPackages[j].modStringName + "/BSL/" ) ) { 664 671 copyBSL("packages/" + globalPackages[j].modStringName + "/BSL", BSLfolders, globalPackages[j] ); … … 729 736 BSLlog << "Testing " << dir_itr->path().string() << " HasBSL: " << pkg.hasBSL << " HasAddon: " << pkg.hasAddon << "\n"; 730 737 int skip_folder = 0; 731 if(!pkg. HasAddon) {738 if(!pkg.hasAddon) { 732 739 for(unsigned int k = 0; k < BSLfolders.size(); k++) {//iterate through already found BSL folders 733 740 BSLlog << "testing " << dir_itr->path().filename() << " vs " << BSLfolders[k] << "\n";
Note:
See TracChangeset
for help on using the changeset viewer.