Skip to content

Commit

Permalink
fix(win32): correctly catch missing wine exceptions (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Feb 7, 2020
1 parent d978bb8 commit be9bbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class WindowsApp extends App {
}

debug(`Running rcedit with the options ${JSON.stringify(rcOpts)}`)
return require('rcedit')(this.electronBinaryPath, rcOpts)
await require('rcedit')(this.electronBinaryPath, rcOpts)
} catch (err) {
// Icon might be omitted or only exist in one OS's format, so skip it if normalizeExt reports an error
/* istanbul ignore next */
Expand Down

0 comments on commit be9bbe5

Please sign in to comment.