Closed FormalSnake closed 1 year ago
Hi,
if you check the doc here, you'll see that the launch
method return a NodeJS child process.
You can try to plug your log window on it to retrieve the logs and the game status.
at the monent, i am trying to do it like this:
launcher.on("data", (e) =>
mainWindow.webContents.send("asynchronous-message", e)
);
Could this work?
yes, it is also possible to use this method.
Allright, thanks!
When my app is compiled, minecraft never seems to launch, unless I launch my compiled app from console (mac) So I want to show the log of the minecraft launcher in my electron app, doesn't matter if it's the entire electron log or not.
Like in prism launcher