fix WEBKIT_DISABLE_COMPOSITING_MODE env

This commit is contained in:
raojinlin 2024-02-29 17:10:29 +08:00
parent 72311fb45e
commit 2f20870d74
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ jobs:
sed -i 's#/usr/local/bin/tiny-rdm#tiny-rdm#g' $build_dir/usr/share/applications/tiny-rdm.desktop
curl -o linuxdeploy-plugin-gtk.sh "https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
sed '/XDG_DATA_DIRS/a export WEBKIT_DISABLE_COMPOSITING_MODE=1'
sed -i '/XDG_DATA_DIRS/a export WEBKIT_DISABLE_COMPOSITING_MODE=1' linuxdeploy-plugin-gtk.sh
chmod +x linuxdeploy-plugin-gtk.sh
curl -o AppDir/AppRun https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-${{ steps.normalise_platform_arch.outputs.arch }} -L