Skip to content

Commit d1f804c

Browse files
rathbomaclaude
andcommitted
Add additional Electron runtime dependencies (cairo, pango, gtk)
Add libcairo2, libpango, libgdk-pixbuf, libgtk-3-0, and other dependencies needed for Electron to run even in ELECTRON_RUN_AS_NODE mode. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent a3330e8 commit d1f804c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/electron-arm64.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
install: |
2525
apt-get update -q -y
2626
apt-get install -q -y ca-certificates curl gnupg build-essential python3 git \
27-
libglib2.0-0 libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libasound2
28-
# Try to install libasound2t64 if available
29-
apt-get install -q -y libasound2t64 2>/dev/null || true
27+
libglib2.0-0 libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdrm2 \
28+
libxkbcommon0 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 \
29+
libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 \
30+
libgtk-3-0 libasound2 libatspi2.0-0 libdbus-1-3
3031
# Install Node.js 20 (for Electron build)
3132
mkdir -p /etc/apt/keyrings
3233
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg

0 commit comments

Comments
 (0)