Skip to content

Commit 81045b3

Browse files
Priestchclaude
andcommitted
fix: support ubuntu 22.04+ webkit2gtk package
Add fallback to try libwebkit2gtk-4.1-dev first (Ubuntu 22.04+), with fallback to libwebkit2gtk-4.0-dev for older versions. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent e35049a commit 81045b3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
if: matrix.platform == 'ubuntu-latest'
4141
run: |
4242
sudo apt-get update
43+
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf || \
4344
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
4445
4546
- uses: pnpm/action-setup@v2

0 commit comments

Comments
 (0)