Skip to content

--user-data-dir not work in Windows10 , same to #586 #1132

Closed as not planned
Closed as not planned
@slow-groovin

Description

@slow-groovin

Describe the bug

When setting --user-data-dir to persist config, it didn't work,
the target dir is empty after start and exit dev.
It's same to #586, two --user-data-dir appears twice in chrome://version/ Command Line, and the first have effect

image

Reproduction

same to #586

export default defineRunnerConfig({
	// On Windows, the path must be absolute
	chromiumArgs: [
		`--user-data-dir=D:\\slow-groovin\\Documents\\wxt-learn\\.wxt\\chrome-data`,
		`--lang=en`
	],
});

Steps to reproduce

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 AMD Ryzen 7 
    Memory: 12.99 GB / 30.69 GB
  Binaries:
    Node: 22.10.0 - D:\Program Files\nodejs\node.EXE
    npm: 10.9.0 - D:\Program Files\nodejs\npm.CMD
    pnpm: 9.12.3 - D:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.19041.4355

Used Package Manager

pnpm

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions