This commit is contained in:
Timothy Baldridge 2019-09-04 15:19:37 -06:00
parent 4cfd2f245f
commit 62a17766dc
4 changed files with 18 additions and 0 deletions

View File

@ -18,6 +18,8 @@ to be a list of other profiles to be included in the install. This list should b
* Refuse to run inside `downloads` folders (anti-virus watches these files too closely and it can cause VFS issues)
* Refuse to run if MO2 is on the system installed in non-portable mode (otherwise broken installs may result)
* Config files that don't otherwise match a rule are inlined into the modlist
* Warn users before installing into an existing MO2 install folder (prevents unintentional data loss from overwriting existing data #24)
* Fix for read only folder deletion bug (#23)
#### Version 0.8.1 - 8/29/2019
* Fixed a bug that was causing VFS temp folders not to be cleaned

View File

@ -63,6 +63,7 @@ namespace VFS
});
Directory.EnumerateDirectories(path, DirectoryEnumerationOptions.Recursive)
.OrderByDescending(d => d.Length)
.DoProgress("Cleaning VFS Folders", folder =>
{
try

View File

@ -292,6 +292,8 @@ namespace Wabbajack
if (ofd.ShowDialog() == true)
{
Location = ofd.SelectedPath;
if (_downloadLocation == null)
DownloadLocation = Path.Combine(Location, "downloads");
}
}
else

View File

@ -83,6 +83,19 @@ namespace Wabbajack
Directory.CreateDirectory(Outputfolder);
Directory.CreateDirectory(DownloadFolder);
if (Directory.Exists(Path.Combine(Outputfolder, "mods")))
{
if (MessageBox.Show("There already appears to be a Mod Organize 2 install in this folder, are you sure you wish to continue" +
" with installation? If you do, you may render both your existing install and the new modlist inoperable.",
"Existing MO2 installation in install folder",
MessageBoxButton.YesNo,
MessageBoxImage.Exclamation) == MessageBoxResult.No)
Utils.Log("Existing installation at the request of the user, existing mods folder found.");
return;
}
if (ModList.Directives.OfType<RemappedInlineFile>().FirstOrDefault() != null ||
ModList.Directives.OfType<CleanedESM>().FirstOrDefault() != null)
{