Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I run some chrome app such as...

google-chrome -app=chrome-extension://kjebfhglflhjjjiceimfkgicifkhjlnm/index.html

...it always starts two windows, one in app mode, and another in the usual window.

I'd like the application to only start in app mode. What is the (or is there a) command line option to accomplish this?

share|improve this question
    
What about running google chrome extensions through chrome interface? –  Ishikawa Yoshi Aug 29 '12 at 15:10
    
@IshikawaYoshi thanks,but in some circumstance,I prefer command line –  张 源 Aug 30 '12 at 2:01
add comment

1 Answer 1

up vote 2 down vote accepted

There is an -app-id argument for starting up with extensions.

google-chrome -app-id=kjebfhglflhjjjiceimfkgicifkhjlnm

Should do the trick.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.