ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/installer.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/installer.cpp (file contents):
Revision 516 by iritscen, Wed Apr 28 10:40:52 2010 UTC vs.
Revision 542 by iritscen, Mon May 24 02:43:35 2010 UTC

# Line 735 | Line 735 | void copyBSL(string copypath, vector<str
735                                                          copy_file(bsl_itr->path(),  "../GameDataFolder/IGMD/" + dir_itr->path().filename() + "/" + bsl_itr->path().filename());
736                                                  }
737                                          }
738 <                                        BSLfolders.push_back( dir_itr->path().filename() ); //add back check for addon
739 <                                        BSLlog << "Pushing " << dir_itr->path().filename() << "\n" ;
738 >                                        if( !pkg.hasAddon ) {
739 >                                                BSLfolders.push_back( dir_itr->path().filename() ); //add back check for addon
740 >                                                BSLlog << "Pushing " << dir_itr->path().filename() << "\n" ;
741 >                                        }
742                                  }
743                          }
744                  }
# Line 842 | Line 844 | int GetUpdateStatus(Install_info_cfg *cu
844                          return UPDATE_LOG_READ_ERR;
845          }
846  
847 <        // Is there an update folder, and is it a monthly release or a patch?
847 >        // Is there an update in the updates/ folder, and is it a monthly release or a patch?
848          bool firstParty = 0;
849 +        // First create the folder if it's missing, so users are never left wondering where updates are supposed to be put
850 +        if (!exists("../updates"))
851 +                create_directory("../updates");
852          if (exists("../updates/Edition"))
853          {
854                  firstParty = 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)