extensionDownloader: Fix loading of downloaded extensions
We refactored the ExtensionSystem API to take an extension object, but forgot to update the downloader. https://bugzilla.gnome.org/show_bug.cgi?id=679099
This commit is contained in:
parent
7da0f398a5
commit
48b83f1ffd
@ -91,7 +91,8 @@ function gotExtensionZipFile(session, message, uuid) {
|
|||||||
global.settings.set_strv(ExtensionSystem.ENABLED_EXTENSIONS_KEY, enabledExtensions);
|
global.settings.set_strv(ExtensionSystem.ENABLED_EXTENSIONS_KEY, enabledExtensions);
|
||||||
}
|
}
|
||||||
|
|
||||||
ExtensionSystem.loadExtension(dir, ExtensionUtils.ExtensionType.PER_USER, true);
|
let extension = ExtensionUtils.createExtensionObject(uuid, dir, ExtensionUtils.ExtensionType.PER_USER);
|
||||||
|
ExtensionSystem.loadExtension(extension);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user