fix: fixing null user preferences for download notifications

This commit is contained in:
Hydra 2024-04-18 23:03:50 +01:00
parent 671c160e49
commit 407c736522
2 changed files with 2 additions and 4 deletions

View file

@ -104,9 +104,7 @@ export function HeroPanel({
window.electron
.showOpenDialog({
properties: ["openFile"],
filters: [
{ name: "Game executable (.exe)", extensions: ["exe", "app"] },
],
filters: [{ name: "Game executable (.exe)", extensions: ["exe"] }],
})
.then(({ filePaths }) => {
if (filePaths && filePaths.length > 0) {