Skip to content

Commit

Permalink
Build icon cache for the application icons
Browse files Browse the repository at this point in the history
  • Loading branch information
danirod committed Nov 21, 2024
1 parent c2d035e commit 1183d15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/appimage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Install dependencies
run: sudo apt update && sudo apt install -y --no-install-recommends gettext meson libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev desktop-file-utils xvfb libfuse2
run: sudo apt update && sudo apt install -y --no-install-recommends gettext meson libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev desktop-file-utils xvfb libfuse2 gtk-update-icon-cache
- uses: actions/checkout@v4
- name: Build
run: build-aux/appimage-build.sh stable
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Install dependencies
run: sudo apt update && sudo apt install -y --no-install-recommends gettext meson libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev desktop-file-utils xvfb libfuse2
run: sudo apt update && sudo apt install -y --no-install-recommends gettext meson libgtk-4-dev libadwaita-1-dev libgtksourceview-5-dev desktop-file-utils xvfb libfuse2 gtk-update-icon-cache
- uses: actions/checkout@v4
- name: Build
run: build-aux/appimage-build.sh devel
Expand Down
3 changes: 3 additions & 0 deletions build-aux/appimage-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ export DEPLOY_GTK_VERSION
sed -i '/GTK_THEME/d' AppDir/apprun-hooks/linuxdeploy-plugin-gtk.sh
sed -i '/GDK_BACKEND/d' AppDir/apprun-hooks/linuxdeploy-plugin-gtk.sh

# Extra fixes for the icon theme.
gtk4-update-icon-cache -q -t -f AppDir/usr/share/icons/hicolor

# Recompile with the changes.
./appimagetool-x86_64.AppImage AppDir

0 comments on commit 1183d15

Please sign in to comment.