Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

ci: build desktop installers when their outside inputs change

leepokai5e179a28004b
diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.yml
index 9414795e..7e5275d0 100644
--- a/.github/workflows/release-desktop.yml
+++ b/.github/workflows/release-desktop.yml
@@ -36,14 +36,15 @@ jobs:
BASE_SHA: ${{ github.event.pull_request.base.sha }}
# Tags, manual runs and release PRs into main always package. Other PRs package only when they
# touch what the installers are built from: the main process, preload, build config, tools,
- # resources, dependencies. A renderer-only change is covered by typecheck, tests and the build.
+ # resources, dependencies, the shared app config, the Mac screen helper and packaging/. A
+ # renderer-only change is covered by typecheck, tests and the build.
run: |
if [ "$EVENT" != pull_request ] || [ "$BASE_REF" = main ]; then
echo package=true >> "$GITHUB_OUTPUT"
exit 0
fi
git fetch --no-tags --depth=1 origin "$BASE_SHA"
- if git diff --name-only FETCH_HEAD HEAD | grep -Eq '^(apps/desktop/(package(-lock)?\.json|electron-builder[^/]*|electron\.vite\.config\.ts|tools/|src/main/|src/preload/|src/shared/|resources/|native/)|\.github/workflows/release-desktop\.yml)'; then
+ if git diff --name-only FETCH_HEAD HEAD | grep -Eq '^(apps/desktop/(package(-lock)?\.json|electron-builder[^/]*|electron\.vite\.config\.ts|tools/|src/main/|src/preload/|src/shared/|resources/|native/)|apps/shared/Config/|apps/screen-macos/|packaging/|\.github/workflows/release-desktop\.yml)'; then
echo package=true >> "$GITHUB_OUTPUT"
else
echo package=false >> "$GITHUB_OUTPUT"
diff --git a/docs/guides/development.md b/docs/guides/development.md
index 20b34fe9..a03c1978 100644
--- a/docs/guides/development.md
+++ b/docs/guides/development.md
@@ -134,7 +134,7 @@ CI on a pull request: the host runs `cargo nextest run` with retries (a test tha
retry shows as FLAKY), iOS Kit retries a failing test up to twice, Android builds the minified release
APK only after a change lands on `dev` or `main`, and the desktop installers are built only when a PR
touches what they're made from (`src/main`, `src/preload`, `src/shared`, build config, tools,
-resources, dependencies) or targets `main`; every desktop PR still typechecks, tests and builds.
+resources, dependencies, `apps/shared/Config`, `apps/screen-macos`, `packaging/`) or targets `main`; every desktop PR still typechecks, tests and builds.
Left to CI: the iOS Kit tests (an iPhone simulator) and the platform builds (Linux screen
helper: GStreamer development packages; macOS: the `Screen` Xcode target against WebRTC).