update
This commit is contained in:
@@ -2,21 +2,19 @@
|
||||
|
||||
namespace ModpackUpdater.Apps.Manager.Features.Workspaces.GitLabRepo;
|
||||
|
||||
internal class GitLabRepoWorkspaceConfig : WorkspaceConfig
|
||||
public class GitLabRepoWorkspaceConfig : WorkspaceConfig, ICloneable
|
||||
{
|
||||
public override string DisplayText => $"{RepoName ?? "?"} | {RepoBranche} | {InstanceUrl}";
|
||||
|
||||
public string? RepoName { get; set; }
|
||||
|
||||
public string InstanceUrl { get; set; } = "https://gitlab.com";
|
||||
|
||||
public string? ApiToken { get; set; }
|
||||
|
||||
public long RepoId { get; set; } = 0L;
|
||||
|
||||
public string RepoBranche { get; set; } = "master";
|
||||
|
||||
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