From f48452b52b9dd5e6285bbdf268d83acfbda2d727 Mon Sep 17 00:00:00 2001 From: Haze <709547807@qq.com> Date: Tue, 24 Feb 2026 17:57:52 +0800 Subject: [PATCH] chore(electron): disable native module rebuilding for bundled openclaw dependencies --- electron-builder.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/electron-builder.yml b/electron-builder.yml index de27bae25..8547e4b7f 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -32,6 +32,13 @@ asar: true asarUnpack: - "**/*.node" +# Disable native module rebuilding. +# The Electron renderer/main process has no native (.node) dependencies. +# All native modules (opus, sharp, koffi …) belong to openclaw, which is +# bundled separately (bundle-openclaw.mjs → extraResources) and runs in its +# own process — @electron/rebuild must NOT touch them. +npmRebuild: false + # Auto-update configuration # Primary: Alibaba Cloud OSS (fast for Chinese users, used for auto-update) # Fallback: GitHub Releases (backup, used when OSS is unavailable)