You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
I am attempting to launch an Electron app from within a C# app. The reason for this is that we have two applications, with a lot of code. The first is the "controlling" application, written in C# and the second is the "rendering" application which is written in Electron.
Is this supported? I can't find any examples, and i'm not seeing references to electron in the code, so i'm guessing it is not supported.
By the way, I suppose I should also mention that I wrote a small test app that attempts to launch the electron sample app (https://github.com/electron/electron-quick-start) via a test C# app, which was unsuccessful.
Here is the test C# idea:
var func = Edge.Func(@"
var electron = require('electron');
return function (data, cb) {
var init = !!electron.app;
if (!init) console.log('Could not initialize electron app!');
cb(null, init);
};
");
dynamic init = await func(null);
Console.WriteLine("Initialized Electron: " + init);
The code runs fine. It's just not able to initialize the electron.app.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am attempting to launch an Electron app from within a C# app. The reason for this is that we have two applications, with a lot of code. The first is the "controlling" application, written in C# and the second is the "rendering" application which is written in Electron.
Is this supported? I can't find any examples, and i'm not seeing references to electron in the code, so i'm guessing it is not supported.
By the way, I suppose I should also mention that I wrote a small test app that attempts to launch the electron sample app (https://github.com/electron/electron-quick-start) via a test C# app, which was unsuccessful.
Here is the test C# idea:
The code runs fine. It's just not able to initialize the electron.app.
The text was updated successfully, but these errors were encountered: