feat: add consent screen for yafti / flatpak fedora remote removal (#70)

Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com>
This commit is contained in:
Marco Ceppi 2023-03-20 00:01:28 -04:00 committed by GitHub
parent 7dc5199d46
commit b6552a18e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: