The name of the directory, default is Downloads.
Optional
options: OpenFolderOrFileOptionsAdditional options: fileName and reveal.
Promise of void.
await openFolderOrFile('Documents') - Open the folder
await openFolderOrFile('Documents', {reveal: true}) - Reveal the folder
await openFolderOrFile('Documents', {fileName: 'example.pdf'}) - Open the file
await openFolderOrFile('Documents', {fileName: 'example.pdf', reveal: true}) - Reveal the file
Generated using TypeDoc
Open the folder where the file is located.