extensionDownloader: Only check updates for user extensions
System extensions cannot be updated through the website, so don't even try. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945
This commit is contained in:
parent
9c785ca6b6
commit
cbc9bc5fc6
@ -120,7 +120,10 @@ function downloadExtensionUpdate(uuid) {
|
|||||||
function checkForUpdates() {
|
function checkForUpdates() {
|
||||||
let metadatas = {};
|
let metadatas = {};
|
||||||
Main.extensionManager.getUuids().forEach(uuid => {
|
Main.extensionManager.getUuids().forEach(uuid => {
|
||||||
metadatas[uuid] = Main.extensionManager.lookup(uuid).metadata;
|
let extension = Main.extensionManager.lookup(uuid);
|
||||||
|
if (extension.type !== ExtensionUtils.ExtensionType.PER_USER)
|
||||||
|
return;
|
||||||
|
metadatas[uuid] = extension.metadata;
|
||||||
});
|
});
|
||||||
|
|
||||||
let params = { shell_version: Config.PACKAGE_VERSION,
|
let params = { shell_version: Config.PACKAGE_VERSION,
|
||||||
|
Loading…
Reference in New Issue
Block a user