From b733e9cb9c5ccfbc88769539789934ec88573d02 Mon Sep 17 00:00:00 2001 From: Marco Ceppi Date: Mon, 20 Mar 2023 00:01:28 -0400 Subject: [PATCH] feat: add consent screen for yafti / flatpak fedora remote removal (#70) Co-authored-by: Jorge O. Castro --- etc/yafti.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/etc/yafti.yml b/etc/yafti.yml index 825e42f65bd..b4638365e92 100644 --- a/etc/yafti.yml +++ b/etc/yafti.yml @@ -13,6 +13,18 @@ screens: icon: "/path/to/icon" description: | Pick some applications to get started + can-we-modify-your-flatpaks: + source: yafti.screen.consent + values: + title: Welcome traveler + condition: + run: flatpak remotes --system | grep fedora + description: | + This tool modifies your flatpaks and flatpak sources. If you do not want to do this exit the installer. + For new users just do it (tm) + actions: + - run: flatpak remote-delete fedora --force + - run: flatpak remove --system --noninteractive --all applications: source: yafti.screen.package values: