Skip to content

Commit

Permalink
fix missing needrestart after plugin update
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Jul 23, 2024
1 parent df8cbce commit 3a8d2ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OneWare.Essentials/Models/PackageModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ public async Task<bool> RemoveAsync()

private void UpdateStatus()
{
if(Status == PackageStatus.NeedRestart) return;

var lV = Version.TryParse(Package.Versions?.LastOrDefault()?.Version, out var lastVersion);
var iV = Version.TryParse(InstalledVersion?.Version ?? "", out var installedVersion);

Expand Down

0 comments on commit 3a8d2ae

Please sign in to comment.