2022-10-21 18:38:19 +00:00
|
|
|
diff --git a/data/org.gnome.Shell.Extensions.GSConnect.desktop.in b/data/org.gnome.Shell.Extensions.GSConnect.desktop.in
|
2023-04-29 16:46:19 +00:00
|
|
|
index 3fb887c3..e8cbe1bd 100644
|
2022-10-21 18:38:19 +00:00
|
|
|
--- a/data/org.gnome.Shell.Extensions.GSConnect.desktop.in
|
|
|
|
+++ b/data/org.gnome.Shell.Extensions.GSConnect.desktop.in
|
2023-04-29 16:46:19 +00:00
|
|
|
@@ -5,7 +5,7 @@
|
2020-04-24 23:36:52 +00:00
|
|
|
[Desktop Entry]
|
|
|
|
Type=Application
|
|
|
|
Name=GSConnect
|
|
|
|
-Exec=gapplication launch org.gnome.Shell.Extensions.GSConnect %U
|
|
|
|
+Exec=@gapplication@ launch org.gnome.Shell.Extensions.GSConnect %U
|
|
|
|
Terminal=false
|
|
|
|
NoDisplay=true
|
|
|
|
Icon=org.gnome.Shell.Extensions.GSConnect
|
2022-10-21 18:38:19 +00:00
|
|
|
diff --git a/src/extension.js b/src/extension.js
|
2023-04-29 16:46:19 +00:00
|
|
|
index 3fae443a..7aa19842 100644
|
2022-10-21 18:38:19 +00:00
|
|
|
--- a/src/extension.js
|
|
|
|
+++ b/src/extension.js
|
2023-04-29 16:46:19 +00:00
|
|
|
@@ -4,6 +4,8 @@
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
+'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path));
|
|
|
|
+
|
|
|
|
const Gio = imports.gi.Gio;
|
2020-09-25 04:45:31 +00:00
|
|
|
const GObject = imports.gi.GObject;
|
2020-04-24 23:36:52 +00:00
|
|
|
const Gtk = imports.gi.Gtk;
|
2022-10-21 18:38:19 +00:00
|
|
|
diff --git a/src/prefs.js b/src/prefs.js
|
2023-04-29 16:46:19 +00:00
|
|
|
index b8860c82..d6292606 100644
|
2022-10-21 18:38:19 +00:00
|
|
|
--- a/src/prefs.js
|
|
|
|
+++ b/src/prefs.js
|
2023-04-29 16:46:19 +00:00
|
|
|
@@ -4,6 +4,8 @@
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
+'@typelibPath@'.split(':').forEach(path => imports.gi.GIRepository.Repository.prepend_search_path(path));
|
|
|
|
+
|
2022-10-21 18:38:19 +00:00
|
|
|
const {Gio, GLib, Adw} = imports.gi;
|
|
|
|
|
|
|
|
// Bootstrap
|