From e225cdc58a391abd7da7c7448be7fec59ee23c25 Mon Sep 17 00:00:00 2001 From: "Geoffrey D. Bennett" Date: Fri, 20 Oct 2023 15:03:45 +1030 Subject: [PATCH] Add org.gnome.Platform and flathub to flatpak instructions --- INSTALL.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index c4aed9a..77ba3f2 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -120,10 +120,29 @@ flatpak-builder --user --install --force-clean flatpak-build \ Be sure to use `flatpak-build` as the directory where the flatpak is built or hence you risk bundling the artifacts when comitting! -If it asks for the SDK, just install it: +If you get messages like these: + +``` +Failed to init: Unable to find sdk org.gnome.Sdk version 45 +Failed to init: Unable to find runtime org.gnome.Platform version 45 +``` + +Then install them: ``` flatpak install org.gnome.Sdk +flatpak install org.gnome.Platform ``` -And pick the right version. +If you get: + +``` +Looking for matches… +error: No remote refs found for ‘org.gnome.Sdk’ +``` + +Then: + +``` +flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo +```