Closed taliyahpottruff closed 8 years ago
I'm currently defining a single method in index.js inside of the .electrify/ folder.
index.js
.electrify/
I am defining it inside of app.on('ready', ...): electrify.methods({ 'quit': function(){ electrify.stop({ app.quit(); }); } }); });
app.on('ready', ...)
electrify.methods({ 'quit': function(){ electrify.stop({ app.quit(); }); } }); });
Removing it causes the app to launch fine.
Screenshot of the error being thrown:
Woops I was just being stupid electrify.stop({ app.quit(); }); should be electrify.stop(function() { app.quit(); });
electrify.stop({ app.quit(); });
electrify.stop(function() { app.quit(); });
I'm currently defining a single method in
index.js
inside of the.electrify/
folder.I am defining it inside of
app.on('ready', ...)
:electrify.methods({ 'quit': function(){ electrify.stop({ app.quit(); }); } }); });
Removing it causes the app to launch fine.
Screenshot of the error being thrown: