removed temp changelog on loading
This commit is contained in:
@@ -155,12 +155,12 @@ public class LightlessPlugin : MediatorSubscriberBase, IHostedService
|
|||||||
_runtimeServiceScope.ServiceProvider.GetRequiredService<NotificationService>();
|
_runtimeServiceScope.ServiceProvider.GetRequiredService<NotificationService>();
|
||||||
_runtimeServiceScope.ServiceProvider.GetRequiredService<NameplateService>();
|
_runtimeServiceScope.ServiceProvider.GetRequiredService<NameplateService>();
|
||||||
|
|
||||||
// TODO: move this to a better place
|
|
||||||
var ver = Assembly.GetExecutingAssembly().GetName().Version;
|
var ver = Assembly.GetExecutingAssembly().GetName().Version;
|
||||||
var currentVersion = ver == null ? string.Empty : $"{ver.Major}.{ver.Minor}.{ver.Build}";
|
var currentVersion = ver == null ? string.Empty : $"{ver.Major}.{ver.Minor}.{ver.Build}";
|
||||||
var lastSeen = _lightlessConfigService.Current.LastSeenVersion ?? string.Empty;
|
var lastSeen = _lightlessConfigService.Current.LastSeenVersion ?? string.Empty;
|
||||||
Logger?.LogDebug("Last seen version: {lastSeen}, current version: {currentVersion}", lastSeen, currentVersion);
|
Logger?.LogDebug("Last seen version: {lastSeen}, current version: {currentVersion}", lastSeen, currentVersion);
|
||||||
Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
|
// for testing c:
|
||||||
|
// Mediator.Publish(new UiToggleMessage(typeof(UpdateNotesUi)));
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(lastSeen))
|
if (string.IsNullOrEmpty(lastSeen))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user