2using System.Reflection;
31 public Version
TgsVersion {
get;
set; } = Assembly.GetEntryAssembly()!.GetName().Version!.Semver();
36 public string ServerUpdatePackageUrlFormatter {
get;
set; } = $
"https://github.com/tgstation/tgstation-server/releases/download/tgstation-server-v{VersionSubstitutionToken}/ServerUpdatePackage.zip";
Settings for the bootstrapper feature.
const int FileMajorVersion
The current supported major version of FileVersion.
Version TgsVersion
The Version of TGS last launched in the lib/Default directory.
string ServerUpdatePackageUrlFormatter
The URL to format with TgsVersion to get the download URL.
const string VersionSubstitutionToken
The token used to substitute ServerUpdatePackageUrlFormatter.
Version FileVersion
The version of the boostrapper file.