I have a lot of command line switches appended to the end of my shortcut to Chrome, but every time I launch chrome without using the shortcut, it loses the switches. Also, when chrome is launched from an in-app call.
A good example is in the recent Chrome canary builds where it renders the title bar's and context menu's without GDI. A quick fix was to use the switch: --disable-directwrite-for-ui
.
P.S: I use mactype
If you were to relaunch Chrome in Windows 8 mode, it loses the switch.
Question:
Is there any way to make Chrome work with command line switches without launching from a shortcut?
Best Answer
Set an environment variable like:
Then whenever you need to launch Chrome with your parameters, execute like this:
or
or