fix: Fix flatpak module errors

This commit is contained in:
Gerald Pinder 2024-04-28 18:14:43 -04:00
parent 76d32bc23a
commit 0b5e7599f8
3 changed files with 41 additions and 13 deletions

View file

@ -0,0 +1,37 @@
type: default-flatpaks
notify: true
system:
repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo
repo-name: flathub-system
repo-title: "Flathub (System)" # Optional; this sets the remote's user-facing name in graphical frontends like GNOME Software
install:
- org.gnome.Boxes
- org.gnome.Calculator
- org.gnome.Calendar
- org.gnome.Snapshot
- org.gnome.Contacts
- org.gnome.clocks
- com.belmoussaoui.Decoder
- org.gnome.Evince
- org.gnome.Maps
- org.gnome.TextEditor
- com.github.neithern.g4music
- com.github.rafostar.Clapper
- org.gnome.Loupe
- io.gitlab.librewolf-community
- io.missioncenter.MissionCenter
- org.gnome.World.Secrets
- com.belmoussaoui.Authenticator
- com.vixalien.sticky
- com.github.flxzt.rnote
- org.localsend.localsend_app
- com.dec05eba.gpu_screen_recorder
- com.github.tchx84.Flatseal
- io.github.flattool.Warehouse
- io.github.fabrialberio.pinapp
- com.mattjakeman.ExtensionManager
- com.github.wwmm.easyeffects
user:
repo-url: https://dl.flathub.org/repo/flathub.flatpakrepo
repo-name: flathub-user
repo-title: "Flathub"

View file

@ -4,6 +4,7 @@ base-image: ghcr.io/ublue-os/silverblue-main
image-version: 39
modules:
- from-file: akmods.yml
- from-file: flatpaks.yml
- type: files
files:
@ -23,16 +24,6 @@ modules:
- firefox
- firefox-langpacks
- type: default-flatpaks
notify: true
system:
install:
- org.mozilla.firefox
- org.gnome.Loupe
- one.ablaze.floorp//lightning
remove:
- org.gnome.eog
- type: signing
- type: test-module

View file

@ -21,12 +21,12 @@ title_case() {
echo $(tr '[:lower:]' '[:upper:]' <<< ${1:0:1})${1:1}
}
module=$1
params=$2
module="$1"
params="$2"
script_path="/tmp/modules/${module}/${module}.sh"
print_banner "Start $(title_case ${module}) Module"
chmod +x ${script_path}
${script_path} ${params}
${script_path} "${params}"
print_banner "End $(title_case ${module}) Module"
ostree container commit