sindresorhus / electron-dl

Simplified file downloads for your Electron app
MIT License
1.16k stars 137 forks source link

Save-as dialog shows two periods before the SQLite file extension in the file type filter #154

Open EricTurnerDev opened 2 years ago

EricTurnerDev commented 2 years ago

When using download() with the saveAs: true option to download a SQLite file, the "Save as type" shows *..sqlite (notice it has two periods), which prevents the user from seeing the other SQLite files they've downloaded.

image

Here you can see that changing the "Save as type" to "All Files (.)" shows a previous SQLite file that already exists in the directory.

image