a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
20 lines
901 B
Diff
20 lines
901 B
Diff
diff --git a/src/MainWindow.vala b/src/MainWindow.vala
|
|
index 14b0701..13638a5 100644
|
|
--- a/src/MainWindow.vala
|
|
+++ b/src/MainWindow.vala
|
|
@@ -82,6 +82,7 @@ public class Feedback.MainWindow : Gtk.ApplicationWindow {
|
|
AppStream.PoolFlags.LOAD_FLATPAK |
|
|
AppStream.PoolFlags.RESOLVE_ADDONS
|
|
);
|
|
+ appstream_pool.add_extra_data_location ("/run/current-system/sw/share/metainfo/", AppStream.FormatStyle.METAINFO);
|
|
#else
|
|
appstream_pool.clear_metadata_locations ();
|
|
// flatpak's appstream files exists only inside they sandbox
|
|
@@ -89,6 +90,7 @@ public class Feedback.MainWindow : Gtk.ApplicationWindow {
|
|
foreach (var app in app_entries) {
|
|
appstream_pool.add_metadata_location (appdata_dir.printf (app));
|
|
}
|
|
+ appstream_pool.add_metadata_location ("/run/current-system/sw/share/metainfo/");
|
|
#endif
|
|
|
|
try {
|