re-organze namespace

This commit is contained in:
2024-09-06 08:45:36 +02:00
parent 939c87820f
commit 3625962a27
60 changed files with 401 additions and 212 deletions

View File

@@ -0,0 +1,38 @@
using Newtonsoft.Json;
namespace ModpackUpdater;
public class InstallAction
{
public string Name { get; set; }
public string InheritFrom { get; set; }
public bool IsZip { get; set; }
public string ZipPath { get; set; }
public string DestPath { get; set; }
public string SourceUrl { get; set; }
public SourceType SourceType { get; set; }
public string SourceOwner { get; set; }
public string SourceName { get; set; }
public string SourceRegex { get; set; }
public string SourceTag { get; set; }
public Side Side { get; set; } = Side.Both;
public bool IsExtra { get; set; }
[JsonProperty, Obsolete]
private string DownloadUrl
{
set => SourceUrl = value;
}
}