390 |
|
const string GlobalNeeded = "GlobalNeeded"; |
391 |
|
const string Category = "Category"; |
392 |
|
const string Creator = "Creator"; |
393 |
– |
package.modStringName = modName; |
393 |
|
while (!file.eof()) |
394 |
|
{ |
395 |
|
getline(file,line); |
491 |
|
} |
492 |
|
} |
493 |
|
} |
494 |
< |
|
494 |
> |
package.modStringName = modName; |
495 |
|
return package; |
496 |
|
} |
497 |
|
|
1478 |
|
#ifndef WIN32 |
1479 |
|
rename((path)("../" + thePath), (path)(strTrashDir + thePath)); |
1480 |
|
#else |
1481 |
< |
remove((path)("../" + thePath)); |
1481 |
> |
remove_all((path)("../" + thePath)); |
1482 |
|
#endif |
1483 |
|
} |
1484 |
|
} |
1550 |
|
} |
1551 |
|
catch (exception & ex) |
1552 |
|
{ |
1553 |
+ |
wxMessageDialog* DotNetDialogOfDeath = |
1554 |
+ |
new wxMessageDialog(TheWindow, ex.what(), "AE Installer Alert", |
1555 |
+ |
wxICON_EXCLAMATION , wxDefaultPosition); |
1556 |
+ |
|
1557 |
+ |
DotNetDialogOfDeath->ShowModal(); |
1558 |
|
setStatusArea("Warning, handled exception: " + (string)ex.what()); |
1559 |
|
return false; |
1560 |
|
} |