Associate file type with Chrome Packaged App

google-chrome-app, google-chrome-extension

Solution

There is, but it is currently only supported on ChromeOS. We have plans to bring this feature to Windows, Mac and Linux in the near future.

To create an association, use the `file_handlers` attribute of the Chrome app manifest. For example, to make *.some files open with your packaged app:

"file_handlers": {
  "handler_name": {  # Can be anything
    "extensions": [
      "some"
    ],
    "title": "My application"  # Make this the same as your app title
  }
}

This will create a file association in ChromeOS. When we roll out support on other platforms, it will automatically create the file associations there and you won't have to make any changes.

Problem

Is there any way to associate some file types in you OS to Chrome Packaged App. I mean if you open file with *.some extension, it would open with my packaged app

Original source