Skip to content

Commit

Permalink
Merge pull request #6 from scowalt/scowalt/readyFix
Browse files Browse the repository at this point in the history
Update app ready wait for Electron 13
  • Loading branch information
HaNdTriX committed Feb 24, 2022
2 parents a492317 + fa260cc commit 41abb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -45,7 +45,7 @@ module.exports = async function serveNextAt(uri, options = {}) {
]);

// Wait for app to be ready
app.once("ready", () => {
app.whenReady().then(() => {
if (dev) {
if (isNaN(port)) {
const error = new Error(
Expand Down

0 comments on commit 41abb19

Please sign in to comment.