Changeset 390 for AE/Installer/trunk/source
- Timestamp:
- Jul 6, 2009, 4:02:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/Installer/trunk/source/main_window.cpp
r385 r390 149 149 if (exists("packages/VanillaDats")) remove_all("packages/VanillaDats"); 150 150 create_directory( "packages/VanillaDats" ); 151 152 151 create_directory( "packages/VanillaDats/level0_Final/" ); 153 152 //blah blah finish this. … … 262 261 else remove(dir_itr->path()); 263 262 } 263 else if (dir_itr->path().filename().substr(0,4) == "ONWC") { //fix for buggy ONWC overriding 264 cout <<dir_itr->path().filename() << "\n"; 265 266 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()); 267 else remove(dir_itr->path()); 268 } 264 269 if (exists(dir_itr->path())) { 265 270 … … 331 336 332 337 // CIP:last of all, set up the edition folder as a playable Oni installation by placing the latest application (+ Daodan DLL on Windows) in edition/ 333 334 // CIP:then copy persist.dat and keyconfig.txt into edition/ as well 335 338 // or we could just include it in the zip in the proper place already. 339 340 copy("../../persist.dat","../persist.dat"); 341 copy("../../keyconfig.txt","../keyconfig.txt"); 336 342 #ifndef WIN32 337 343 /* On Mac only, set the current GDF to the AE GDF by writing to Oni's global preferences file (thankfully a standard OS X ".plist" XML file). … … 345 351 346 352 #endif 353 347 354 348 355 setStatusArea((string)"Done! Now select your mod packages and click install."); … … 975 982 menuBar->Append(itemMenu42, _("Options")); 976 983 wxMenu* itemMenu44 = new wxMenu; 977 itemMenu44->Append(wxID_ABOUT, _("About"), wxEmptyString, wxITEM_NORMAL); 978 menuBar->Append(itemMenu44, _("Help")); 984 #ifdef WIN32 985 itemMenu44->Append(wxID_ABOUT, _("About"), wxEmptyString, wxITEM_NORMAL); 986 menuBar->Append(itemMenu44, _("Help")); 987 #else 988 itemMenu37->Append(wxID_ABOUT, _("About"), wxEmptyString, wxITEM_NORMAL); 989 #endif 990 979 991 itemFrame1->SetMenuBar(menuBar); 980 992 … … 1117 1129 splitInstances = SPLIT; 1118 1130 } 1119 1131 1120 1132 globalPackages = getPackages(); 1121 1133 globalInstalledMods = getInstallString(); … … 1129 1141 TheProgressBar = ProgressBar; 1130 1142 OptionsPanel->Hide(); 1143 1144 //#ifndef WIN32 1145 // itemMenu37->Append(wxID_ABOUT, _("About"), wxEmptyString, wxITEM_NORMAL); 1146 1147 //#endif 1148 1131 1149 if(splitInstances == SPLIT) SeperatedRadio->SetValue(true); 1132 1150 else CompleteRadio->SetValue(true); 1133 1134 1135 1136 1151 if(strImportOption == "-import:nosep") NoSepRadio->SetValue(true); 1137 1152 else SepRadio->SetValue(true);
Note:
See TracChangeset
for help on using the changeset viewer.