[gnome-software/mwleeds/hardcoded-pwa-list: 2/14] fixup! Revive webapp support




commit 3903a0bcdec2bc9a4e495cd5ba6bdf42b15cc028
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Fri Mar 25 11:03:12 2022 -0700

    fixup! Revive webapp support

 plugins/epiphany/gs-plugin-epiphany.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/plugins/epiphany/gs-plugin-epiphany.c b/plugins/epiphany/gs-plugin-epiphany.c
index 23f9692a0..84255101c 100644
--- a/plugins/epiphany/gs-plugin-epiphany.c
+++ b/plugins/epiphany/gs-plugin-epiphany.c
@@ -463,7 +463,11 @@ list_installed_apps_thread_cb (GTask        *task,
 
                name = g_app_info_get_name (G_APP_INFO (desktop_info));
 
-               /* This way of getting the URL is a bit hacky but it's what Epiphany does */
+               /* This way of getting the URL is a bit hacky but it's what
+                * Epiphany does, specifically in
+                * ephy_web_application_for_profile_directory() which lives in
+                * https://gitlab.gnome.org/GNOME/epiphany/-/blob/master/lib/ephy-web-app-utils.c
+                */
                exec = g_app_info_get_commandline (G_APP_INFO (desktop_info));
                if (g_shell_parse_argv (exec, &argc, &argv, NULL)) {
                        g_assert (argc > 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]