Use new version number metadata endpoint
This commit is contained in:
@@ -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(¬ifications.Notification{
|
||||
EventID: "updates:core-update-available",
|
||||
Type: notifications.Info,
|
||||
|
||||
Reference in New Issue
Block a user