[gnome-builder/gnome-builder-3-40] flatpak: fix installation of proper platform



commit 8721773d9d8fdaa314b01bda3bc90a1782034f35
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 30 20:51:50 2021 -0700

    flatpak: fix installation of proper platform
    
    We were lacking the arch and branch.

 src/plugins/flatpak/gbp-flatpak-runtime-provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-runtime-provider.c 
b/src/plugins/flatpak/gbp-flatpak-runtime-provider.c
index 44155cb83..a65c48a38 100644
--- a/src/plugins/flatpak/gbp-flatpak-runtime-provider.c
+++ b/src/plugins/flatpak/gbp-flatpak-runtime-provider.c
@@ -838,7 +838,7 @@ gbp_flatpak_runtime_provider_bootstrap_async (IdeRuntimeProvider  *provider,
 
       /* Make sure we have the platform for running it too (org.gnome.Platform) */
       if (!gbp_flatpak_application_addin_has_runtime (addin, platform, state->arch, state->branch))
-        gbp_flatpak_install_dialog_add_runtime (dialog, platform);
+        gbp_flatpak_install_dialog_add_runtime (dialog, platform_full);
 
       /* Resolve the extensions ASAP so we can show them in the dialog and also
        * ensure that we have the right extension for the SDK.


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