2019-12-04 04:12:08 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-12-09 00:19:36 +00:00
|
|
|
|
using Wabbajack.Common;
|
2019-12-04 04:12:08 +00:00
|
|
|
|
|
2019-12-09 00:19:36 +00:00
|
|
|
|
namespace Wabbajack.Lib
|
2019-12-04 04:12:08 +00:00
|
|
|
|
{
|
2019-12-09 00:19:36 +00:00
|
|
|
|
public class ConfirmUpdateOfExistingInstall : ConfirmationIntervention
|
2019-12-04 04:12:08 +00:00
|
|
|
|
{
|
2020-03-25 22:30:43 +00:00
|
|
|
|
public AbsolutePath OutputFolder { get; set; }
|
2020-04-10 01:29:53 +00:00
|
|
|
|
public string ModListName { get; set; } = string.Empty;
|
2019-12-04 04:12:08 +00:00
|
|
|
|
|
2019-12-09 00:19:36 +00:00
|
|
|
|
public override string ShortDescription { get; } = "Do you want to overwrite existing files?";
|
2019-12-04 04:12:08 +00:00
|
|
|
|
|
|
|
|
|
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. This means that save games will be removed, custom settings
|
|
|
|
|
will be reverted. Are you sure you wish to continue?";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|