extensionDownloader: Use uuid lookup method in checkForUpdates()
The extensions variable the code was trying to access was made private and turned into a map some time ago. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1958
This commit is contained in:
parent
9f0ef0044d
commit
b4ed8a3d06
@ -154,7 +154,7 @@ function updateExtension(uuid) {
|
|||||||
function checkForUpdates() {
|
function checkForUpdates() {
|
||||||
let metadatas = {};
|
let metadatas = {};
|
||||||
Main.extensionManager.getUuids().forEach(uuid => {
|
Main.extensionManager.getUuids().forEach(uuid => {
|
||||||
metadatas[uuid] = Main.extensionManager.extensions[uuid].metadata;
|
metadatas[uuid] = Main.extensionManager.lookup(uuid).metadata;
|
||||||
});
|
});
|
||||||
|
|
||||||
let params = { shell_version: Config.PACKAGE_VERSION,
|
let params = { shell_version: Config.PACKAGE_VERSION,
|
||||||
|
Loading…
Reference in New Issue
Block a user