Skip to content

Commit

Permalink
fix: Make yafti run on change (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
castrojo authored Mar 20, 2023
1 parent dc82040 commit f561b2c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions etc/yafti.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
title: Welcome to uBlue
actions:
pre:
- run: /usr/bin/flatpak remote-delete flathub --force
- run: /usr/bin/flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- run: /usr/bin/flatpak remove --system --noninteractive --all
- run: /usr/bin/flatpak remote-delete fedora --force
properties:
mode: "run-on-change"
screens:
first-screen:
source: yafti.screen.title
Expand All @@ -16,12 +12,11 @@ screens:
can-we-modify-your-flatpaks:
source: yafti.screen.consent
values:
title: Welcome traveler
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)
This will modify your Flatpaks. If you do not want to do this exit the installer.
actions:
- run: flatpak remote-delete fedora --force
- run: flatpak remove --system --noninteractive --all
Expand Down

0 comments on commit f561b2c

Please sign in to comment.