From eaba9657f1c740f54663dbeec7b7d1dfe6f3008c Mon Sep 17 00:00:00 2001 From: Lawrence37 <45837045+Lawrence37@users.noreply.github.com> Date: Mon, 22 Aug 2022 11:44:49 -0700 Subject: [PATCH] Fix AppImage theme (#6555) Patch the app run hook from linuxdeploy-plugin-gtk so that the theme is not explicitly set. --- .github/workflows/appimage.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index 105f2c840..7f66f9c8c 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -101,7 +101,9 @@ jobs: echo "Downloading linuxdeploy." curl --location 'https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage' > linuxdeploy-x86_64.AppImage echo "Downloading GTK plugin for linuxdeploy." - curl --location 'https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh' > linuxdeploy-plugin-gtk.sh + curl --location 'https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh' \ + | sed 's/^\(export GTK_THEME\)/#\1/' \ + > linuxdeploy-plugin-gtk.sh echo "Setting execute bit on all AppImage tools." chmod u+x linuxdeploy-*