Use new version number metadata endpoint

This commit is contained in:
Daniel
2024-04-16 17:12:32 +02:00
parent 493309ebb3
commit 154b0454fc

View File

@@ -108,7 +108,7 @@ func upgradeCoreNotify() error {
pmCoreUpdate = newFile
// check for new version
if info.GetInfo().Version != pmCoreUpdate.Version() {
if info.VersionNumber() != pmCoreUpdate.Version() {
n := notifications.Notify(&notifications.Notification{
EventID: "updates:core-update-available",
Type: notifications.Info,