mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
chore(ci): Change to upstream action and add flatpak support
This commit is contained in:
parent
8b790edd00
commit
6c24e91c53
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -40,6 +40,7 @@ jobs:
|
|||||||
push-ghcr:
|
push-ghcr:
|
||||||
name: Make
|
name: Make
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
continue-on-error: false
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
@ -283,3 +284,12 @@ jobs:
|
|||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
echo "${{ toJSON(steps.push.outputs) }}"
|
echo "${{ toJSON(steps.push.outputs) }}"
|
||||||
|
|
||||||
|
build_iso:
|
||||||
|
name: build iso
|
||||||
|
needs: [push-ghcr]
|
||||||
|
if: github.ref_name == 'testing'
|
||||||
|
# Eventually would be nice for building images in PRs
|
||||||
|
#if: ${{ endsWith(github.event.pull_request.title, '[ISO]') }}
|
||||||
|
uses: ./.github/workflows/build_iso.yml
|
||||||
|
secrets: inherit
|
||||||
|
152
.github/workflows/build_iso.yml
vendored
152
.github/workflows/build_iso.yml
vendored
@ -2,73 +2,156 @@ name: Build ISOs
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
workflow_call:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- '.github/workflows/build_iso.yml'
|
|
||||||
|
|
||||||
env:
|
|
||||||
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
|
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
|
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-iso
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-iso:
|
build-iso:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
packages: write
|
packages: write
|
||||||
id-token: write
|
id-token: write
|
||||||
container:
|
|
||||||
image: fedora:${{ matrix.major_version }}
|
|
||||||
options: "--privileged"
|
|
||||||
volumes:
|
|
||||||
- "/:/host"
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
image_name: [bazzite, bazzite-nvidia, bazzite-gnome, bazzite-gnome-nvidia, bazzite-deck, bazzite-deck-gnome, bazzite-ally, bazzite-ally-gnome, bazzite-asus, bazzite-gnome-asus, bazzite-asus-nvidia, bazzite-gnome-asus-nvidia]
|
image_name:
|
||||||
|
- bazzite
|
||||||
|
- bazzite-nvidia
|
||||||
|
- bazzite-gnome
|
||||||
|
- bazzite-gnome-nvidia
|
||||||
|
- bazzite-deck
|
||||||
|
- bazzite-deck-gnome
|
||||||
|
- bazzite-ally
|
||||||
|
- bazzite-ally-gnome
|
||||||
|
- bazzite-asus
|
||||||
|
- bazzite-gnome-asus
|
||||||
|
- bazzite-asus-nvidia
|
||||||
|
- bazzite-gnome-asus-nvidia
|
||||||
major_version: [39]
|
major_version: [39]
|
||||||
image_tag: [stable]
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@v1.3.1
|
||||||
|
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set Image Tag
|
||||||
|
id: generate-tag
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
TAG="stable"
|
||||||
|
|
||||||
|
if [[ "${{ github.ref_name }}" == "testing" ]]; then
|
||||||
|
TAG="testing"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Would like to implement in the future. This will allow us to support image tags from a PR.
|
||||||
|
#if [[ github.event.number ]]; then
|
||||||
|
# TAG="pr-${{ github.event.number }}-${{ matrix.major_version }}"
|
||||||
|
#fi
|
||||||
|
|
||||||
|
echo "tag=${TAG}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Set EXTRA_BOOT_PARAMS
|
- name: Set EXTRA_BOOT_PARAMS
|
||||||
|
id: generate-extra-params
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
EXTRA_BOOT_PARAMS=""
|
EXTRA_BOOT_PARAMS=""
|
||||||
if [[ "${{ matrix.image_name }}" == "bazzite-deck" || "${{ matrix.image_name }}" == "bazzite-deck-gnome" || "${{ matrix.image_name }}" == "bazzite-deck-budgie" ]]; then
|
if [[ "${{ matrix.image_name }}" =~ "deck" ]]; then
|
||||||
EXTRA_BOOT_PARAMS="inst.resolution=1280x800"
|
EXTRA_BOOT_PARAMS="inst.resolution=1280x800"
|
||||||
fi
|
fi
|
||||||
echo "EXTRA_BOOT_PARAMS=$EXTRA_BOOT_PARAMS" >> $GITHUB_ENV
|
echo "extra-boot-params=${EXTRA_BOOT_PARAMS}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Set Flatpaks Directory Shortname
|
||||||
|
id: generate-flatpak-dir-shortname
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
FLATPAK_DIR_SHORTNAME="kde_flatpaks"
|
||||||
|
|
||||||
|
if [[ "${{ matrix.image_name }}" =~ "gnome" ]]; then
|
||||||
|
FLATPAK_DIR_SHORTNAME="gnome_flatpaks"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "flatpak-dir-shortname=${FLATPAK_DIR_SHORTNAME}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: Determine Flatpak Dependencies
|
||||||
|
id: flatpak_dependencies
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
set -ex
|
||||||
|
image="ghcr.io/ublue-os/${{ matrix.image_name }}:${{ steps.generate-tag.outputs.tag }}"
|
||||||
|
# Make temp space
|
||||||
|
TEMP_FLATPAK_INSTALL_DIR=$(mktemp -d -p ${{ github.workspace }} flatpak.XXX)
|
||||||
|
# Get list of refs from directory
|
||||||
|
FLATPAK_REFS_DIR=${{ github.workspace }}/${{ steps.generate-flatpak-dir-shortname.outputs.flatpak-dir-shortname }}
|
||||||
|
FLATPAK_REFS_DIR_LIST=$(cat ${FLATPAK_REFS_DIR}/* | tr '\n' ' ' )
|
||||||
|
# Generate install script
|
||||||
|
cat << EOF > ${TEMP_FLATPAK_INSTALL_DIR}/script.sh
|
||||||
|
cat /temp_flatpak_install_dir/script.sh
|
||||||
|
mkdir -p /flatpak/flatpak /flatpak/triggers
|
||||||
|
mkdir /var/tmp || true
|
||||||
|
chmod -R 1777 /var/tmp
|
||||||
|
flatpak config --system --set languages "*"
|
||||||
|
flatpak remote-add --system flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
flatpak install --system -y ${FLATPAK_REFS_DIR_LIST}
|
||||||
|
ostree refs --repo=\${FLATPAK_SYSTEM_DIR}/repo | grep '^deploy/' | grep -v 'org\.freedesktop\.Platform\.openh264' | sed 's/^deploy\///g' > /output/flatpaks_with_deps
|
||||||
|
EOF
|
||||||
|
docker run --rm --privileged \
|
||||||
|
--entrypoint bash \
|
||||||
|
-e FLATPAK_SYSTEM_DIR=/flatpak/flatpak \
|
||||||
|
-e FLATPAK_TRIGGERSDIR=/flatpak/triggers \
|
||||||
|
--volume ${FLATPAK_REFS_DIR}:/output \
|
||||||
|
--volume ${TEMP_FLATPAK_INSTALL_DIR}:/temp_flatpak_install_dir \
|
||||||
|
${image} /temp_flatpak_install_dir/script.sh
|
||||||
|
docker rmi ${image}
|
||||||
|
|
||||||
- name: Build ISOs
|
- name: Build ISOs
|
||||||
uses: ublue-os/isogenerator@1.0.9
|
uses: jasonn3/build-container-installer@v1.1.1
|
||||||
id: build
|
id: build
|
||||||
with:
|
with:
|
||||||
ARCH: x86_64
|
arch: x86_64
|
||||||
IMAGE_NAME: ${{ matrix.image_name }}
|
image_name: ${{ matrix.image_name }}
|
||||||
IMAGE_REPO: ${{ env.IMAGE_REGISTRY }}
|
image_repo: ghcr.io/ublue-os
|
||||||
VARIANT: 'Kinoite'
|
variant: 'Kinoite'
|
||||||
VERSION: ${{ matrix.major_version }}
|
version: ${{ matrix.major_version }}
|
||||||
IMAGE_TAG: ${{ matrix.image_tag }}
|
image_tag: ${{ steps.generate-tag.outputs.tag }}
|
||||||
SECURE_BOOT_KEY_URL: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
|
secure_boot_key_url: 'https://github.com/ublue-os/akmods/raw/main/certs/public_key.der'
|
||||||
ENROLLMENT_PASSWORD: 'ublue-os'
|
enrollment_password: 'ublue-os'
|
||||||
EXTRA_BOOT_PARAMS: ${{ env.EXTRA_BOOT_PARAMS }}
|
iso_name: ${{ matrix.image_name }}-${{ steps.generate-tag.outputs.tag }}
|
||||||
|
enable_cache_dnf: "false"
|
||||||
|
enable_cache_skopeo: "false"
|
||||||
|
flatpak_remote_refs_dir: /github/workspace/${{ steps.generate-flatpak-dir-shortname.outputs.flatpak-dir-shortname }}
|
||||||
|
enable_flatpak_dependencies: "false"
|
||||||
|
extra_boot_params: ${{ steps.generate-extra-params.outputs.extra-boot-params }}
|
||||||
|
|
||||||
|
- name: Move ISOs to Upload Directory
|
||||||
|
id: upload-directory
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
ISO_UPLOAD_DIR=$(mkdir ${{ github.workspace }}/upload)
|
||||||
|
mv ${{ steps.build.outputs.iso_path }} ${ISO_UPLOAD_DIR}
|
||||||
|
mv ${{ steps.build.outputs.iso_path }}-CHECKSUM ${ISO_UPLOAD_DIR}
|
||||||
|
echo "iso-upload-dir=${ISO_UPLOAD_DIR}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Upload ISOs and Checksum to Job Artifacts
|
- name: Upload ISOs and Checksum to Job Artifacts
|
||||||
if: github.event_name == 'pull_request'
|
if: github.ref_name == 'testing'
|
||||||
|
#if: github.event_name == 'pull_request'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.image_name }}-${{ matrix.image_tag }}-${{ matrix.major_version}}
|
name: ${{ matrix.image_name }}-${{ matrix.image_tag }}-${{ matrix.major_version}}
|
||||||
path: ${{ steps.build.outputs.output-directory }}
|
path: ${{ steps.upload-directory.outputs.iso-upload-dir }}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 0
|
retention-days: 0
|
||||||
compression-level: 0
|
compression-level: 0
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
||||||
- name: Upload ISOs and Checksum to R2
|
- name: Upload ISOs and Checksum to R2
|
||||||
if: github.event_name == 'workflow_dispatch'
|
if: github.event_name == 'workflow_dispatch' && github.ref_name == 'main'
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
RCLONE_CONFIG_R2_TYPE: s3
|
RCLONE_CONFIG_R2_TYPE: s3
|
||||||
@ -77,15 +160,16 @@ jobs:
|
|||||||
RCLONE_CONFIG_R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
RCLONE_CONFIG_R2_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
|
||||||
RCLONE_CONFIG_R2_REGION: auto
|
RCLONE_CONFIG_R2_REGION: auto
|
||||||
RCLONE_CONFIG_R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }}
|
RCLONE_CONFIG_R2_ENDPOINT: ${{ secrets.R2_ENDPOINT }}
|
||||||
SOURCE_DIR: ${{ steps.build.outputs.output-directory }}
|
SOURCE_DIR: ${{ steps.upload-directory.outputs.iso-upload-dir }}
|
||||||
run: |
|
run: |
|
||||||
dnf install -y rclone
|
dnf install -y rclone
|
||||||
rclone copy $SOURCE_DIR R2:bazzite
|
rclone copy $SOURCE_DIR R2:bazzite
|
||||||
|
|
||||||
- name: Upload ISOs to archive.org
|
- name: Upload ISOs to archive.org
|
||||||
|
if: github.event_name == 'workflow_dispatch' && github.ref_name == 'main'
|
||||||
uses: qoijjj/internet-archive-upload@v7
|
uses: qoijjj/internet-archive-upload@v7
|
||||||
with:
|
with:
|
||||||
access-key: ${{ secrets.IA_ACCESS_KEY }}
|
access-key: ${{ secrets.IA_ACCESS_KEY }}
|
||||||
secret-key: ${{ secrets.IA_SECRET_KEY }}
|
secret-key: ${{ secrets.IA_SECRET_KEY }}
|
||||||
identifier: ${{ matrix.image_name }}
|
identifier: ${{ matrix.image_name }}
|
||||||
files: ${{ steps.build.outputs.output-directory }}
|
files: ${{ steps.upload-directory.outputs.iso-upload-dir }}
|
||||||
|
33
gnome_flatpaks/flatpaks
Normal file
33
gnome_flatpaks/flatpaks
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
app/org.mozilla.firefox/x86_64/stable
|
||||||
|
app/com.mattjakeman.ExtensionManager/x86_64/stable
|
||||||
|
app/io.github.fastrizwaan.WineZGUI/x86_64/stable
|
||||||
|
app/io.github.dvlv.boxbuddyrs/x86_64/stable
|
||||||
|
app/it.mijorus.gearlever/x86_64/stable
|
||||||
|
app/com.github.tchx84.Flatseal/x86_64/stable
|
||||||
|
app/io.github.flattool.Warehouse/x86_64/stable
|
||||||
|
app/io.missioncenter.MissionCenter/x86_64/stable
|
||||||
|
app/com.vysp3r.ProtonPlus/x86_64/stable
|
||||||
|
app/io.github.celluloid_player.Celluloid/x86_64/stable
|
||||||
|
app/org.gnome.Calculator/x86_64/stable
|
||||||
|
app/org.gnome.Calendar/x86_64/stable
|
||||||
|
app/org.gnome.Characters/x86_64/stable
|
||||||
|
app/org.gnome.Contacts/x86_64/stable
|
||||||
|
app/org.gnome.Evince/x86_64/stable
|
||||||
|
app/org.gnome.FileRoller/x86_64/stable
|
||||||
|
app/org.gnome.Logs/x86_64/stable
|
||||||
|
app/org.gnome.Loupe/x86_64/stable
|
||||||
|
app/org.gnome.Maps/x86_64/stable
|
||||||
|
app/org.gnome.NautilusPreviewer/x86_64/stable
|
||||||
|
app/org.gnome.TextEditor/x86_64/stable
|
||||||
|
app/org.gnome.Weather/x86_64/stable
|
||||||
|
app/org.gnome.baobab/x86_64/stable
|
||||||
|
app/org.gnome.clocks/x86_64/stable
|
||||||
|
app/org.gnome.font-viewer/x86_64/stable
|
||||||
|
runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/23.08
|
||||||
|
runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/23.08
|
||||||
|
runtime/org.freedesktop.Platform.VulkanLayer.OBSVkCapture/x86_64/23.08
|
||||||
|
runtime/com.obsproject.Studio.Plugin.OBSVkCapture/x86_64/stable
|
||||||
|
runtime/com.obsproject.Studio.Plugin.Gstreamer/x86_64/stable
|
||||||
|
runtime/com.obsproject.Studio.Plugin.GStreamerVaapi/x86_64/stable
|
||||||
|
runtime/org.gtk.Gtk3theme.adw-gtk3/x86_64/3.22
|
||||||
|
runtime/org.gtk.Gtk3theme.adw-gtk3-dark/x86_64/3.22
|
18
kde_flatpaks/flatpaks
Normal file
18
kde_flatpaks/flatpaks
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
app/org.mozilla.firefox/x86_64/stable
|
||||||
|
app/org.kde.gwenview/x86_64/stable
|
||||||
|
app/org.kde.okular/x86_64/stable
|
||||||
|
app/org.kde.kcalc/x86_64/stable
|
||||||
|
app/org.kde.haruna/x86_64/stable
|
||||||
|
app/org.kde.filelight/x86_64/stable
|
||||||
|
app/io.github.fastrizwaan.WineZGUI/x86_64/stable
|
||||||
|
app/io.github.dvlv.boxbuddyrs/x86_64/stable
|
||||||
|
app/it.mijorus.gearlever/x86_64/stable
|
||||||
|
app/com.github.tchx84.Flatseal/x86_64/stable
|
||||||
|
app/io.github.flattool.Warehouse/x86_64/stable
|
||||||
|
app/net.davidotek.pupgui2/x86_64/stable
|
||||||
|
runtime/org.freedesktop.Platform.VulkanLayer.MangoHud/x86_64/23.08
|
||||||
|
runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/23.08
|
||||||
|
runtime/org.freedesktop.Platform.VulkanLayer.OBSVkCapture/x86_64/23.08
|
||||||
|
runtime/com.obsproject.Studio.Plugin.OBSVkCapture/x86_64/stable
|
||||||
|
runtime/com.obsproject.Studio.Plugin.Gstreamer/x86_64/stable
|
||||||
|
runtime/com.obsproject.Studio.Plugin.GStreamerVaapi/x86_64/stable
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
# SCRIPT VERSION
|
# SCRIPT VERSION
|
||||||
VER=22
|
VER=23
|
||||||
VER_FILE="/etc/bazzite/flatpak_manager_version"
|
VER_FILE="/etc/bazzite/flatpak_manager_version"
|
||||||
VER_RAN=$(cat $VER_FILE)
|
VER_RAN=$(cat $VER_FILE)
|
||||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||||
@ -22,24 +22,6 @@ if [[ -f $VER_FILE && $VER = $VER_RAN ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Opt out of and remove Fedora's flatpak repo
|
|
||||||
if grep -qz 'fedora' <<< $(flatpak remotes); then
|
|
||||||
/usr/lib/fedora-third-party/fedora-third-party-opt-out
|
|
||||||
/usr/bin/fedora-third-party disable
|
|
||||||
flatpak remote-delete fedora --force
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Ensure Flathub is enabled
|
|
||||||
flatpak remote-add --if-not-exists --system flathub /usr/etc/flatpak/remotes.d/flathub.flatpakrepo
|
|
||||||
flatpak remote-modify --system --enable flathub
|
|
||||||
|
|
||||||
# Installed flatpaks
|
|
||||||
FLATPAK_LIST=$(flatpak list --columns=application)
|
|
||||||
|
|
||||||
# Flatpak list files
|
|
||||||
INSTALL_LIST_FILE="/usr/share/ublue-os/bazzite/flatpak/install"
|
|
||||||
REMOVE_LIST_FILE="/usr/share/ublue-os/bazzite/flatpak/remove"
|
|
||||||
|
|
||||||
# Flatpak theming support
|
# Flatpak theming support
|
||||||
flatpak override \
|
flatpak override \
|
||||||
--filesystem=xdg-config/gtk-4.0:ro \
|
--filesystem=xdg-config/gtk-4.0:ro \
|
||||||
@ -98,28 +80,12 @@ mkdir -p /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stab
|
|||||||
rm -f /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/*bazzite*.js
|
rm -f /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/*bazzite*.js
|
||||||
/usr/bin/cp -rf /usr/share/ublue-os/firefox-config/* /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/
|
/usr/bin/cp -rf /usr/share/ublue-os/firefox-config/* /var/lib/flatpak/extension/org.mozilla.firefox.systemconfig/x86_64/stable/defaults/pref/
|
||||||
|
|
||||||
# Install flatpaks in list
|
# Update Flatpaks
|
||||||
if [[ -f $INSTALL_LIST_FILE ]]; then
|
|
||||||
if [[ -n $FLATPAK_LIST ]]; then
|
|
||||||
INSTALL_LIST=$(echo $FLATPAK_LIST | grep -vf - $INSTALL_LIST_FILE)
|
|
||||||
else
|
|
||||||
INSTALL_LIST=$(cat $INSTALL_LIST_FILE)
|
|
||||||
fi
|
|
||||||
if [[ -n $INSTALL_LIST ]]; then
|
|
||||||
if ! flatpak install --system --noninteractive flathub ${INSTALL_LIST[@]}; then
|
|
||||||
# exit on error
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Remove flatpaks in list once
|
# Use until yafti rework is done
|
||||||
if [[ ! -f $VER_FILE && -f $REMOVE_LIST_FILE ]]; then
|
flatpak --system update -y
|
||||||
REMOVE_LIST=$(echo $FLATPAK_LIST | grep -f - $REMOVE_LIST_FILE)
|
|
||||||
if [[ -n $REMOVE_LIST ]]; then
|
notify-send "Welcome to Bazzite" "Your computer is ready!" --app-name="Flatpak Manager Service" -u NORMAL
|
||||||
flatpak remove --system --noninteractive ${REMOVE_LIST[@]}
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p /etc/bazzite
|
mkdir -p /etc/bazzite
|
||||||
echo $VER > $VER_FILE
|
echo $VER > $VER_FILE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user