Notify electron that server is running

This commit is contained in:
NAmorim committed 2021-10-21 11:54:45 +01:00
1 parent cc350aae23
commit 6680d4495c
2 files changed
+10 -4

No files matched your search

+4
View File
@@ -15,6 +15,7 @@ The SA object is accesible everywhere at the Superalgos Desktop App.
It provides access to all modules built for Superalgos in general.
*/
global.SA = {}
/* Load Environment Variables */
let ENVIRONMENT = require('./Environment.js');
let ENVIRONMENT_MODULE = ENVIRONMENT.newEnvironment()
@@ -84,4 +85,7 @@ async function run(initialWorkspace) {
PL.app = require('./Platform/PlatformApp.js').newPlatformApp()
await PL.app.run(initialWorkspace)
console.log('Superalgos Platform App is Running!')
if(process.send) {
process.send("Running")
}
}