| # | Line 1338 | Line 1338 | bool ProcessAEUpdate(Install_info_cfg *c | |
|---|---|---|
| 1338 | bool readingVerAndDate = false; | |
| 1339 | ||
| 1340 | #ifdef WIN32 | |
| 1341 | < | //string strTrashDir = "Trash\\"; // string unused in Windows because files are simply deleted |
| 1341 | > | //remove readonly attrib from files. |
| 1342 | > | setStatusArea("Removing readonly attribute..."); |
| 1343 | > | system("attrib -r ./* /s"); |
| 1344 | > | system("attrib -r ../Oni.exe /s"); |
| 1345 | > | system("attrib -r ../binkw32.dll /s"); |
| 1346 | > | |
| 1347 | #else | |
| 1348 | FILE *fUserName = NULL; | |
| 1349 | char chrUserName[32]; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |