# fix\(desktop\): detect a running Firefox and keep containers apart · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/3656866ecb43afe15a1497a422a40444890166df)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 3656866ecb43afe15a1497a422a40444890166df

Requested commit: 3656866ecb43afe15a1497a422a40444890166df

Commit: 3656866ecb43afe15a1497a422a40444890166df

Tree: e62ca5ecb165ec1cefe232e8c0d976a19dd55a56

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(desktop): detect a running Firefox and keep containers apart

Firefox keeps its lock files inside each profile, not at the user-data root, so
the running check never found them and offered imports from a live, mid-write
database. It now walks the source's profiles and looks for all three names the
platforms use.

Firefox isolates cookies per container and per private window through
`originAttributes`. Electron has no equivalent, so importing them all collapsed
several identities onto one host/name/path and handed the profile whichever
container was written last. Only the default container is imported.

The sidecar copy no longer ignores every error alongside the missing-file case;
the new snapshot test caught that the earlier fix had landed on the
pre-extraction copy of this code rather than the shared module.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

```

## Parents

- [4f6fb873fabe097e66e4c4f4dbc3ce16f1862dc2](https://git.cafe/pingdotgg/t3code/commit/4f6fb873fabe097e66e4c4f4dbc3ce16f1862dc2?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/3656866ecb43afe15a1497a422a40444890166df?format=markdown)
