2021-12-26 22:05:28 +00:00
|
|
|
|
using Wabbajack.Paths;
|
2021-12-26 21:56:44 +00:00
|
|
|
|
|
2021-12-30 00:15:37 +00:00
|
|
|
|
namespace Wabbajack
|
2021-12-26 21:56:44 +00:00
|
|
|
|
{
|
|
|
|
|
public class ConfirmUpdateOfExistingInstall : ConfirmationIntervention
|
|
|
|
|
{
|
|
|
|
|
public AbsolutePath OutputFolder { get; set; }
|
|
|
|
|
public string ModListName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public override string ShortDescription { get; } = "Do you want to update existing files?";
|
|
|
|
|
|
|
|
|
|
public override string ExtendedDescription
|
|
|
|
|
{
|
|
|
|
|
get =>
|
|
|
|
|
$@"There appears to be a modlist already installed in the output folder. If you continue with the install,
|
|
|
|
|
Any files that exist in {OutputFolder} will be changed to match the files found in the {ModListName} modlist. Custom settings
|
|
|
|
|
will be reverted, but saved games will not be deleted. Are you sure you wish to continue?";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|