local folder workspace
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using ModpackUpdater.Apps.Manager.Api.Model;
|
||||
|
||||
namespace ModpackUpdater.Apps.Manager.Features.Workspaces.LocalFolder;
|
||||
|
||||
public class LocalFolderWorkspaceConfig : WorkspaceConfig, ICloneable
|
||||
{
|
||||
public override string DisplayText => FolderName ?? string.Empty;
|
||||
public string? FolderName { get; set; }
|
||||
public string? RootFolderPath { get; set; }
|
||||
public string FileLocationInstallJson { get; set; } = "install.json";
|
||||
public string FileLocationUpdateJson { get; set; } = "updates.json";
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return MemberwiseClone();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user