[Archive] Writting a Core Launcher in Angular Electron
[Archive] Writting a Core Launcher in Angular Electron
Archived author: DuelistRage • Posted: 2025-11-04T18:12:24.738105
Original source
I´m currently writting a core launcher in angular electron and try to add start buttons for worldserver etc.
Everything works fine except from the two main buttons World and Auth server.
The code to execute a file:
JavaScript:
openApp(path) {
var executablePath = path;
var parameters = [];
this.electron.childProcess.execFile(executablePath, parameters, function (err, data) {
if(err){
console.error(err);
return;
}
console.log(data.toString());
});
}
and i get the error "Command Failed"
i tried to open bunch of random executables like audacity, or even the wow client worked, but worldserver.exe and bnetserver.exe do not work