[gnome-software/mwleeds/pwa-plugin] fixup! Revive webapp support



commit 0ac55811bc56b518273fb8d8f59689669ade008a
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Wed Apr 6 11:27:33 2022 -0700

    fixup! Revive webapp support

 plugins/epiphany/gs-plugin-epiphany.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/epiphany/gs-plugin-epiphany.c b/plugins/epiphany/gs-plugin-epiphany.c
index 9b7822639..9f2028cac 100644
--- a/plugins/epiphany/gs-plugin-epiphany.c
+++ b/plugins/epiphany/gs-plugin-epiphany.c
@@ -130,8 +130,8 @@ gs_plugin_epiphany_setup_async (GsPlugin            *plugin,
         * installed or removed but that is expected to be infrequent.
         */
        portal_apps_path = g_build_filename (g_get_user_data_dir (), "xdg-desktop-portal", "applications", 
NULL);
-       g_mkdir_with_parents (portal_apps_path, 0700);
        portal_apps_file = g_file_new_for_path (portal_apps_path);
+       /* Monitoring the directory works even if it doesn't exist yet */
        self->monitor = g_file_monitor_directory (portal_apps_file, G_FILE_MONITOR_WATCH_MOVES,
                                                  cancellable, &local_error);
        if (self->monitor == NULL) {


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