download attribute not suggesting file extension in save dialog
问题 I am using a download link and in electron, the link opens but the Save as type only shows All Files (*.*) Is there a way for electron to force a file extension in that field using just an <a> tag? This works in chrome where it shows MY_EXTENSION (*.my_extension) , but in electron it does not. This is useful for if you rename the file without the extension in the new name, it will automatically add it when downloaded. Here is what the link looks like: <a href="/path/to/file.my_extension"