On Linux, dialog-node.fileselect browses for a file. On Windows, it browses for a directory. Which is differs from what it claims it would do. This is because on Windows, shell.BrowseForFolder is called, which indeed shows a directory selection dialog instead of a file selection dialog (common file dialog).
On Linux,
dialog-node.fileselectbrowses for a file. On Windows, it browses for a directory. Which is differs from what it claims it would do. This is because on Windows,shell.BrowseForFolderis called, which indeed shows a directory selection dialog instead of a file selection dialog (common file dialog).