Skip to content

Use .filePaths and handle promise in showOpenDialog#146

Open
gcaptn wants to merge 1 commit intohundredrabbits:masterfrom
gcaptn:master
Open

Use .filePaths and handle promise in showOpenDialog#146
gcaptn wants to merge 1 commit intohundredrabbits:masterfrom
gcaptn:master

Conversation

@gcaptn
Copy link

@gcaptn gcaptn commented Apr 14, 2021

.showOpenDialog() returns a promise, which resolves with an object instead of an array. Also fixes #144.

@gcaptn gcaptn changed the title Use paths.filePaths and handle promise in showOpenDialog Use .filePaths and handle promise in showOpenDialog Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"undefined path" when opening the theme file dialog

1 participant