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 526 by gumby, Sat May 22 22:07:58 2010 UTC vs.
Revision 542 by iritscen, Mon May 24 02:43:35 2010 UTC

# Line 844 | 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)