| 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 |
|
} |
| 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; |