-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--user-data-dir
not work in Windows10 , same to #586
#1132
Comments
+1 |
after dig into the code, find out that it did work, but not as sample as the doc said. without the keepProfileChanges: true flag, web-ext-run will copy the dir you spicified with so if you want to use a seperate dir as chrome profile, and prevent settings lost every time on start,
BTW,
and unfortunately, web-ext-run hard coded a default pref:
so chrome prefs start with 'extensions.' will lost.
|
@Dollyn Thanks! setting like this meets my requirements. Additionally, the configurations in the Chrome Pref documentation includes few. Below is my configuration, which is used to modify the DevTools location and language. Note that the value of the configuration must include the escaped colon (exactly as it appears in the Preferences file). chromiumPref: {
extensions: {
ui: {developer_mode: true,},
pinned_extensions: [""]
},
devtools:{
preferences:{
// "currentDockState": "bottom", //not work
"currentDockState": "\"bottom\"",
},
"synced_preferences_sync_disabled": {
"language": "\"zh\"",
}
},
download: {default_directory: resolve('.wxt/download'),},
} |
Gonna close this as a duplicate of #1023, seems to be the same problem. |
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 inchrome://version/
Command Line, and the first have effectReproduction
same to #586
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: