extensionDownloader: Fix extension installation
The name of the method is "get_as_bytes" https://bugzilla.gnome.org/show_bug.cgi?id=682578
This commit is contained in:
parent
4ca2697271
commit
67115b3e9b
@ -82,7 +82,7 @@ function gotExtensionZipFile(session, message, uuid, dir, callback, errback) {
|
||||
}
|
||||
|
||||
let [file, stream] = Gio.File.new_tmp('XXXXXX.shell-extension.zip');
|
||||
let contents = message.response_body.flatten().as_bytes();
|
||||
let contents = message.response_body.flatten().get_as_bytes();
|
||||
stream.output_stream.write_bytes(contents, null);
|
||||
stream.close(null);
|
||||
let [success, pid] = GLib.spawn_async(null,
|
||||
|
Loading…
Reference in New Issue
Block a user