After I build a crx file I drag and drop it into chrome.
I would like to automate it by using a command line argument to google-chrome app.
is there a way to do that?
Thanks!
This is a discussion on installing a crx file from the command line within the Chrome Plugins section, part of the Google Chrome category: After I build a crx file I drag and drop it into chrome. I would like to automate it by ...
After I build a crx file I drag and drop it into chrome.
I would like to automate it by using a command line argument to google-chrome app.
is there a way to do that?
Thanks!
Yep.
Add load-extension to the command line so it looks something like this...
....if you want to test a theme while you have chrome open then add a profile (using user-data-dir) to the command line like this....Code:"C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --load-extension="C:\Classic Blue Theme - NonAero"
...this will make it load chrome using the profile at c:\Themeing (it will create a profile in the directory if there isnt one) and use the theme you pointed it at. This will make chrome load a new instance with the theme so it doesnt interfere with the one your using and is great for taking screenshots as it wont show your bookmarks, history,etc.Code:"C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" --user-data-dir="c:\Themeing" --load-extension="C:\Classic Blue Theme - NonAero"
If you want to actually install a crx, rather than load an unpacked extension, just add the path to the crx after the path to Chrome, like this:
Code:"C:\Documents and Settings\{user}\Local Settings\Application Data\Google\Chrome\Application\chrome.exe" C:\extensions\example.crx