Skip to content

Commit

Permalink
Use a static profile dir (#64)
Browse files Browse the repository at this point in the history
Using a dynamic profile name has unintended side-effects
  • Loading branch information
ballercat authored Nov 13, 2024
1 parent 5eae96f commit c041ee4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.4 - Use a static profile dir

- fix: use a static chrome profile dir to avoid losing settings between sessions

## 0.4.3 - Move svelte deps to dev

- chore: move svelte related dependencies to devDependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jambox",
"version": "0.4.3",
"version": "0.4.4",
"description": "Tool for recording and playing back HTTP requests.",
"bin": {
"jam": "./jam.mjs",
Expand Down
7 changes: 1 addition & 6 deletions src/browser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ const mac = ({ chrome, uri, info }) => {
// https://www.chromium.org/developers/design-documents/network-settings/
`--proxy-bypass-list="${info.noProxy.join(';')}"`,
// FIXME: Don't depend on browser-launchers profile
`--user-data-dir=${
osenv.home() +
'/.config/' +
'browser-launcher' +
`${chrome.name}-${chrome.version}`
}`,
`--user-data-dir=${osenv.home() + '/.config/jambox-' + chrome.name}`,
'--disable-restore-session-state',
'--no-default-browser-check',
'--disable-popup-blocking',
Expand Down

0 comments on commit c041ee4

Please sign in to comment.