Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.
TypeScript cross-platformelectronffmpegopen-sourceproduct-demorustscreen-capturescreen-recorderscreen-recordingscreen-studioscreencastspeech-to-texttypescriptvideo-editingvideo-editorwaylandwgpuwhisper
fix(build): use sharp prebuilt instead of compiling from source (fixes macOS CI)
Siddharthc6331badb19d
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 1f85736c2..8d515644c 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -69,6 +69,15 @@ jobs:- name: Install dependenciesrun: npm ci+ # ─── Ensure sharp prebuilt binary (+ bundled libvips) ─────+ # `npm ci` can leave sharp without its prebuilt binary/vendored libvips,+ # which makes electron-builder's native rebuild fail ("vips-cpp.42 not+ # found"). Re-fetch the prebuilt (never compile from source).+ - name: Ensure sharp prebuilt+ run: npm rebuild sharp+ env:+ npm_config_build_from_source: "false"+# ─── Import Code Signing Certificate ──────────────────────# This is the KEY step that makes CI signing work.# We create a temporary keychain, import the .p12 cert into it,diff --git a/electron-builder.json5 b/electron-builder.json5index c23d3e2fd..5675260e9 100644--- a/electron-builder.json5+++ b/electron-builder.json5@@ -9,7 +9,10 @@],"productName": "Openscreen","npmRebuild": true,- "buildDependenciesFromSource": true,+ // sharp ships ABI-stable (napi) prebuilt binaries with bundled libvips. Building it from source+ // needs a system libvips we don't provide and breaks on CI/local ("vips-cpp.42 not found"), so we+ // let electron-builder use the prebuilt instead of recompiling.+ "buildDependenciesFromSource": false,"compression": "normal","directories": {"output": "release/${version}"