greenheartgames / greenworks

a node.js plugin to integrate nw.js/electron games with steamworks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Electron App Closing

jakeandreoli opened this issue · comments

I implemented Greenworks into my Electron game.

Whenever I start debugging, as soon as the node module is loaded, debugging ends abruptly. There is nothing outputted to the log. I can't seem to find any reason why it would be doing this.

I'm not sure what additional information I should supply:

console.log('Version: ' + process.version); // Successfully outputs
var Greenworks = require('./assets/js/greenworks/greenworks');
console.log("Test"); // Process ends before this outputs
if (Greenworks.init())
	console.log('Steam API has been initalized.');

Folder Structure