shell
Manage files and URLs using default applications.
Last updated
Manage files and URLs using default applications.
The shell module provides functionalities related to desktop integration.
Plays the system's beep sound.
Returns Promise<void>
await eagle.shell.beep();Opens the specified URL using the system's default method. Note: This function will not have any effect if there is no default application set by the system.
url string - The URL to be opened
Returns Promise<void>
await eagle.shell.openExternal('https://www.google.com/');Opens the specified path using the system's default method.
path string - The file path to be opened
Returns Promise<void>
Shows the specified file or folder in the file manager.
path string - The file or folder to be displayed
Returns Promise<void>
Last updated
await eagle.shell.openPath('path_to_file');await eagle.shell.showItemInFolder('path_to_file_or_directory');