Completely removed GDI
Some checks failed
Build Windows Avalonia / build (push) Failing after 1m47s
Release Windows Avalonia / build (push) Failing after 1m47s
Release Windows Avalonia / release (push) Has been skipped

This commit is contained in:
Maddo 2026-05-28 20:27:05 +02:00
commit d76e133f18
31 changed files with 236 additions and 2592 deletions

View file

@ -91,6 +91,13 @@ jobs:
exit 1
fi
legacy_renderer_count="$(find "${{ env.PUBLISH_DIR }}" -maxdepth 1 -type f \( -iname 'Microsoft.Windows.Compatibility.dll' -o -iname 'System.Private.Windows.GdiPlus.dll' \) | wc -l | tr -d ' ')"
if [ "${legacy_renderer_count}" -ne 0 ]; then
echo "Legacy GDI compatibility assemblies must not be published:"
find "${{ env.PUBLISH_DIR }}" -maxdepth 1 -type f \( -iname 'Microsoft.Windows.Compatibility.dll' -o -iname 'System.Private.Windows.GdiPlus.dll' \) -print
exit 1
fi
- name: Upload publish artifact
uses: actions/upload-artifact@v3
with:

View file

@ -82,6 +82,13 @@ jobs:
exit 1
fi
legacy_renderer_count="$(find "${{ env.PUBLISH_DIR }}" -maxdepth 1 -type f \( -iname 'Microsoft.Windows.Compatibility.dll' -o -iname 'System.Private.Windows.GdiPlus.dll' \) | wc -l | tr -d ' ')"
if [ "${legacy_renderer_count}" -ne 0 ]; then
echo "Legacy GDI compatibility assemblies must not be published:"
find "${{ env.PUBLISH_DIR }}" -maxdepth 1 -type f \( -iname 'Microsoft.Windows.Compatibility.dll' -o -iname 'System.Private.Windows.GdiPlus.dll' \) -print
exit 1
fi
- name: Upload publish artifact
uses: actions/upload-artifact@v3
with: