feat: Switch to zap for managing AppImages, auto-update zap installed AppImages with Topgrade

This commit is contained in:
Kyle Gospodnetich 2024-05-02 23:42:24 -07:00
parent 2370baa1db
commit 7d291a10ad
8 changed files with 10 additions and 11 deletions

View File

@ -425,6 +425,8 @@ RUN rpm-ostree install \
rm -rf /tmp/latencyflex && \
curl -Lo /usr/bin/latencyflex https://raw.githubusercontent.com/KyleGospo/LatencyFleX-Installer/main/install.sh && \
chmod +x /usr/bin/latencyflex && \
curl -Lo /usr/bin/zap https://github.com/srevinsaju/zap/releases/download/v2-continuous/zap && \
chmod +x /usr/bin/zap && \
sed -i 's@/usr/lib/wine/@/usr/lib64/wine/@g' /usr/bin/latencyflex && \
sed -i 's@"dxvk.conf"@"/usr/share/latencyflex/dxvk.conf"@g' /usr/bin/latencyflex && \
chmod +x /usr/bin/latencyflex && \

View File

@ -2,7 +2,6 @@ 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

View File

@ -6,7 +6,6 @@ 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

View File

@ -211,7 +211,6 @@ screens:
description: Helpful tools
default: false
packages:
- AppImage Pool: io.github.prateekmedia.appimagepool
- Barrier: com.github.debauchee.barrier
- Bitwarden: com.bitwarden.desktop
- Calibre: com.calibre_ebook.calibre

View File

@ -1,4 +1,5 @@
[commands]
"Zap" = "/usr/libexec/topgrade/zap-update"
"Linux AMDGPU Control Application" = "/usr/libexec/topgrade/lact-update"
"Mozilla GNOME Themes" = "/usr/libexec/topgrade/mozilla-gnome-theme-update"
"Third Party CSS Loader Themes" = "/usr/libexec/topgrade/third-party-css-loader-update"

View File

@ -0,0 +1,6 @@
#!/usr/bin/bash
shopt -s nullglob
/usr/bin/zap update
exit 0

View File

@ -200,7 +200,6 @@ screens:
description: Helpful tools
default: false
packages:
- AppImage Pool: io.github.prateekmedia.appimagepool
- Barrier: com.github.debauchee.barrier
- Bitwarden: com.bitwarden.desktop
- Calibre: com.calibre_ebook.calibre

View File

@ -61,13 +61,7 @@ alias get-wootility := install-wootility
# Install Wootility for configuring Wooting Keyboards
install-wootility:
#!/usr/bin/bash
if grep -q 'it.mijorus.gearlever' <<< $(flatpak list); then
wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Downloads/wootility.AppImage
flatpak run it.mijorus.gearlever $HOME/Downloads/wootility.AppImage
else
wget "https://api.wooting.io/public/wootility/download?os=linux&branch=lekker" -O $HOME/Desktop/wootility.AppImage
chmod +x $HOME/Desktop/wootility.AppImage
fi
zap install --from https://api.wooting.io/public/wootility/download?os=linux&branch=lekker wootility
# Install Adwaita-for-Steam theme for CSS Loader (https://github.com/tkashkin/Adwaita-for-Steam)
install-adwaita-for-steam: