FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Silk-GUI/app-defaults: App to handle default app for opening file. · GitHub

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

App to handle default app for opening file.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL