configuring logger for electron

This commit is contained in:
Jan Prochazka
2023-01-22 10:35:02 +01:00
parent 5249713a3c
commit 1cf02488b4
2 changed files with 7 additions and 3 deletions

View File

@@ -333,6 +333,7 @@ function createWindow() {
// path.join(__dirname, process.env.DEVMODE ? '../../packages/api/src/index' : '../packages/api/dist/bundle.js')
// )
// );
api.configureLogger();
const main = api.getMainModule();
main.useAllControllers(null, electron);
mainModule = main;