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
Highlight the icon for a file with the extension you want to re-associate and press "Command-I" on your keyboard. In the "Get Info" window, expand the "Open With" section and select a new application to use as the default for launching these types of files. Exit the window to save your changes.
Open the Control Panel. In the Control Panel, click the Default Programs option. Click the Associate a file type or protocol with a program option. In the Default apps window, scroll to the bottom and select Choose defaults by file type.
Once uploaded to the Chrome Web Store, your extension ID is fixed and cannot be changed any more. The ID is derived from the . pem file that was created the first time you (or the Chrome Web Store) packed the extension in a .
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With