chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / po / polari / make-thumbnailer-wrappable.patch
blob2ab64d7fed31ae1071d572933ebde2398f8b462e
1 diff --git a/src/thumbnailer.js b/src/thumbnailer.js
2 old mode 100644
3 new mode 100755
4 index 4f7a2840..55c20199
5 --- a/src/thumbnailer.js
6 +++ b/src/thumbnailer.js
7 @@ -1,3 +1,5 @@
8 +#!/usr/bin/env gjs --module
10 // SPDX-FileCopyrightText: 2019 daronion <stefanosdimos.98@gmail.com>
11 // SPDX-FileCopyrightText: 2019 Florian Müllner <fmuellner@gnome.org>
13 diff --git a/src/urlPreview.js b/src/urlPreview.js
14 index 5f7931e4..d2282900 100644
15 --- a/src/urlPreview.js
16 +++ b/src/urlPreview.js
17 @@ -69,7 +69,7 @@ class Thumbnailer {
18 async _generateThumbnail(data) {
19 let { filename, uri } = data;
20 this._subProc = Gio.Subprocess.new(
21 - ['gjs', '--module', `${pkg.pkgdatadir}/thumbnailer.js`, uri, filename],
22 + [`${pkg.pkgdatadir}/thumbnailer.js`, uri, filename],
23 Gio.SubprocessFlags.NONE);
24 try {
25 await this._subProc.wait_async(null);