Changeset 398 for AE/Installer
- Timestamp:
- Jul 7, 2009, 12:19:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/source/main_window.cpp
r397 r398 287 287 cout <<dir_itr->path().filename() << "\n"; 288 288 289 if(!exists( "packages/VanillaDats/level " + levels[i] + "_Final/level" + levels[i] + "_Final/" + dir_itr->filename())) rename(dir_itr->path(), "packages/VanillaDats/level" + levels[i] + "_Final/level" + levels[i] + "_Final/" + dir_itr->filename());289 if(!exists( "packages/VanillaDats/level0_Final/level0_Final/" + dir_itr->filename())) rename(dir_itr->path(), "packages/VanillaDats/level0_Final/level0_Final/" + dir_itr->filename()); 290 290 else remove(dir_itr->path()); 291 291 } … … 294 294 } 295 295 else { 296 //logfile << "\tMoved file: " << dir_itr->path().filename() << "\n";296 logfile << "\tMoved file: " << dir_itr->path().filename() << "\n"; 297 297 } 298 298 } … … 378 378 379 379 } 380 catch (exception ex) {380 catch (exception & ex) { 381 381 setStatusArea("Warning, handled exception: " + (string)ex.what()); 382 382 }
Note:
See TracChangeset
for help on using the changeset viewer.