-
Notifications
You must be signed in to change notification settings - Fork 188
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
prefs
option doesn't work
#323
Comments
Merged
Ahh, ok. I saw that PR, and couldn't figure out if it was released or not yet 👍 Thanks! |
Nice, seems to be working. Thanks for the quick release! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It doesn't seem like the
prefs
option does anything. At least the example in the README doesn't work.chrome-launcher/README.md
Lines 50 to 53 in cb08cd2
But when I go to
chrome://downloads/
and open the downloads folder, it opens/Users/aklinker1/Downloads
instead of/Users/aklinker1/Downloads/test
, andchrome://settings/downloads
also lists/Users/aklinker1/Downloads
as my download location.Looking at the code, it seems like I shouldn't pass in a dot separated string, but in the same format as the preferences file. That doesn't work either.
chrome-launcher/src/chrome-launcher.ts
Lines 243 to 251 in cb08cd2
But I probably just don't know how the preferences file works. I would think line 247 should be a deep merge, not a simple spread, but maybe chrome expands the dot notation strings automatically and performs the deep merge?
I originally came across this trying to set
extensions.ui.developer_mode
to true, but couldn't get that working either. I figured that might be a special setting, so I tried it withdownload.default_directory
then created this issue.The text was updated successfully, but these errors were encountered: