diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-12-08 08:19:13 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-08 08:19:13 -0600 |
| commit | ec60cfbd397badca9a76d3923c653ad7cb6561c5 (patch) | |
| tree | 7da287e6ece3104bdf0dcd17757c584a3ad6c46a /src/slskd/State.cs | |
| parent | 39e26f9a940400102bb0b86e259d836362a95cea (diff) | |
| parent | 75b8075f480be97209435ad454d9c23d03d0b6c9 (diff) | |
| download | slskd-ec60cfbd397badca9a76d3923c653ad7cb6561c5.tar.gz | |
Merge pull request #297 from slskd/controls
Add controls for restarting and shutting down, add button for version check
Diffstat (limited to 'src/slskd/State.cs')
| -rw-r--r-- | src/slskd/State.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slskd/State.cs b/src/slskd/State.cs index bff2dc5b..d07c603a 100644 --- a/src/slskd/State.cs +++ b/src/slskd/State.cs @@ -38,10 +38,12 @@ namespace slskd public record VersionState { - public string Current { get; init; } = Program.InformationalVersion; + public string Full { get; init; } = Program.FullVersion; + public string Current { get; init; } = Program.SemanticVersion; public string Latest { get; init; } = null; public bool? IsUpdateAvailable { get; init; } = null; public bool IsCanary { get; init; } = Program.IsCanary; + public bool IsDevelopment { get; init; } = Program.IsDevelopment; } public record ServerState |
