tgstation-server 5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
UpdatesConfiguration.cs
Go to the documentation of this file.
2{
6 public sealed class UpdatesConfiguration
7 {
11 public const string Section = "Updates";
12
16 const long DefaultGitHubRepositoryId = 92952846;
17
21 const string DefaultGitTagPrefix = "tgstation-server-v";
22
26 const string DefaultUpdatePackageAssetName = "ServerUpdatePackage.zip";
27
31 public long GitHubRepositoryId { get; set; } = DefaultGitHubRepositoryId;
32
36 public string GitTagPrefix { get; set; } = DefaultGitTagPrefix;
37
42 }
43}
Configuration for the automatic update system.
const string DefaultUpdatePackageAssetName
The default value of UpdatePackageAssetName.
long GitHubRepositoryId
The Octokit.Repository.Id of the tgstation-server fork to recieve updates from.
const long DefaultGitHubRepositoryId
The tgstation/tgstation-server Octokit.Repository.Id.
string UpdatePackageAssetName
Asset package containing the new Host assembly in zip form.
string GitTagPrefix
Prefix before the global::System.Version of TGS published in git tags.
const string DefaultGitTagPrefix
The default value of GitTagPrefix.
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the UpdatesConfiguration res...