Skip to content

Silk-GUI/app-defaults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published