add auto-updates from github

This commit is contained in:
zznty
2022-10-15 15:33:57 +07:00
parent 197d04a661
commit c5acf61f7c
9 changed files with 245 additions and 105 deletions

View File

@@ -32,7 +32,22 @@ namespace Torch
UGCServiceType UgcServiceType { get; set; }
bool EntityManagerEnabled { get; set; }
string LoginToken { get; set; }
UpdateSource UpdateSource { get; set; }
void Save(string path = null);
}
public class UpdateSource
{
public UpdateSourceType SourceType { get; set; }
public string Url { get; set; }
public string Repository { get; set; }
public string Branch { get; set; }
}
public enum UpdateSourceType
{
Github,
Jenkins
}
}