Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 521 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 521 Bytes

App Defualts

App to handle default app for opening file.

This is generally used by window managers, but an app's client could also access the methods.

Methods

Silk/appDefaults

params: mime

returns:

{
  default: name of default app
  available: [array of apps that can open the mime]
}

Silk/setDefault

param: data

{
  mime: mime,
  app: name of app
}

Override

If you want a different implementation, you can remove this app and create your own that provides these two methods.