| # | 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; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |