From 44df66d0ae4dfd7174da5059e9f56da406cfe607 Mon Sep 17 00:00:00 2001 From: Marco Ceppi Date: Sun, 19 Mar 2023 23:50:28 -0400 Subject: [PATCH] feat: add consent screen for yafti / flatpak fedora remote removal --- 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: