mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-11 18:33:53 +00:00
fix: compiling
- only node service is module - import module with async - serve react app from node process
This commit is contained in:
+5
-1
@@ -8,7 +8,11 @@ const {
|
||||
} = require('electron');
|
||||
const path = require('path');
|
||||
const { electron } = require('process');
|
||||
const nodeapp = require('./app.js');
|
||||
|
||||
(async () => {
|
||||
const { nodeapp } = await import('./src/app.js');
|
||||
})();
|
||||
|
||||
require('@electron/remote/main').initialize();
|
||||
|
||||
// Load Icons
|
||||
|
||||
Reference in New Issue
Block a user