Use new version number metadata endpoint
This commit is contained in:
@@ -108,7 +108,7 @@ func upgradeCoreNotify() error {
|
|||||||
pmCoreUpdate = newFile
|
pmCoreUpdate = newFile
|
||||||
|
|
||||||
// check for new version
|
// check for new version
|
||||||
if info.GetInfo().Version != pmCoreUpdate.Version() {
|
if info.VersionNumber() != pmCoreUpdate.Version() {
|
||||||
n := notifications.Notify(¬ifications.Notification{
|
n := notifications.Notify(¬ifications.Notification{
|
||||||
EventID: "updates:core-update-available",
|
EventID: "updates:core-update-available",
|
||||||
Type: notifications.Info,
|
Type: notifications.Info,
|
||||||
|
|||||||
Reference in New Issue
Block a user