Skip to content

elm-electron/shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron.Shell

Interop for electron's shell module

Documentation

showItemInFolder : String -> Task x ()

Show the given file in a file manager. If possible, select the file. electron docs

openItem : String -> Task x ()

Open the given file in the desktop's default manner. electron docs

openExternal : String -> Task x ()

Open the given external protocol URL in the desktop's default manner. (For example, mailto: URLs in the user's default mail agent.) electron docs

moveItemToTrash : String -> Task x Bool

Move the given file to trash and returns a boolean status for the operation. electron docs

beep : () -> Task x ()

Play the beep sound. electron docs

Contributing

Any suggestions accepted! Submit issues, PRs, send an email or get in touch on twitter at @luke_dot_js or on the elmlang Slack at @luke. I'll be working on even more electron interop coming up so if you have ideas for that process as a whole feel free to get in touch with those as well. Thanks!

About

Interop for electron's shell module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors