Files
aaddrick c3cc5a6b16 fix: skip ELECTRON_FORCE_IS_PACKAGED for NixOS builds
On NixOS, Electron is a separate Nix store path from the app, so
process.resourcesPath points to Electron's resources dir rather than
the app's. Claude's app code uses app.isPackaged to choose between
resourcesPath-based and development-style fallback paths. Setting
ELECTRON_FORCE_IS_PACKAGED=true (introduced by PR #305) forces the
resourcesPath code paths, which resolve to the wrong location on
NixOS, causing a silent startup hang.

Skip the env var for 'nix' package type so isPackaged remains false,
restoring the working behavior from before PR #305.

Fixes #311

Co-Authored-By: Claude <claude@anthropic.com>
2026-03-20 09:46:57 -04:00
..