Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ permissions:

jobs:
backend:
runs-on: ubuntu-latest
# Playwright 1.60 does not support the Ubuntu 26.04 latest runner.
runs-on: ubuntu-24.04
timeout-minutes: 3

steps:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/electron-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y \
clang-19 \
libgtk-3-dev \
libnotify-dev \
libnss3 \
Expand All @@ -64,6 +65,8 @@ jobs:
libpci3 \
libappindicator3-1 \
libsecret-1-0
echo 'CC=clang-19' >> "$GITHUB_ENV"
echo 'CXX=clang++-19' >> "$GITHUB_ENV"

# Build frontend
- name: Install frontend dependencies
Expand Down
6 changes: 5 additions & 1 deletion electron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This directory contains the configuration to package ChatForge as a standalone E

- Node.js 24+
- NPM
- On Linux, Clang 19 and the usual native build tools for rebuilding `better-sqlite3`.

## Setup

Expand All @@ -21,9 +22,12 @@ This directory contains the configuration to package ChatForge as a standalone E
2. **Install Electron Dependencies**:
```bash
cd electron
npm install
# Linux: use the same compiler as the release build.
CC=clang-19 CXX=clang++-19 npm install
```

On Windows or macOS, use `npm install` without the Linux compiler variables.

## Running in Development

To run the Electron app in development mode (using the local backend and frontend build):
Expand Down
Loading
Loading