mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 01:03:57 +00:00
fix: fixing null user preferences for download notifications
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user