mirror of
https://github.com/aaddrick/claude-desktop-debian.git
synced 2026-05-17 08:36:35 +03:00
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>