-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can electron cgi work with an already built and obfuscated C# executable? #15
Comments
Hi @mxswat If you can make a C# console application that uses the C# code you already have, then yes, and that can be obfuscated too, really doesn't matter. |
Hi @ruidfigueiredo Thanks for the quick answer I have another question |
@mxswat Actually, less than that:
Don't really know what you mean by loading the project. The thing is, Editor must be be using with the ElectronCgi.DotNet nuget package and have the appropriate configuration for receiving the type of requests you need from node |
Oh, this is amazing, also is there any docs for the entire electron-cgi project? |
Hi @mxswat thanks! There are a few blog posts: https://www.blinkingcaret.com/2020/03/25/electroncgi-1-0-cross-platform-guis-for-net-core/ https://www.blinkingcaret.com/2019/11/27/electroncgi-a-solution-to-cross-platform-guis-for-net-core/ And there are a few examples apps, the latest one I built was this: https://github.com/ruidfigueiredo/MemorizeADeck There's also a podcast episode about ElectronCgi if you are interested in the story behind it: https://www.automator.show/18 |
@ruidfigueiredo thank you so much for the time you are using to help me |
"Hello World from MessageService!" that was written to the stdout stream (there's a Console.WriteLine with that somewhere in C#). ElectronCGI uses the stdout and stdin streams to build a communication channel between the two processes, if you write to those yourself you'll get those errors. |
So, I went in Debug inside the file My brain completely ignored "Hello World from MessageService!" I guess I should attach a custom console to have console logs in the C# project, not a big deal |
It works perfectly now |
Hello, I'm working with a friend on making a modding tool for games.
My friend makes the entire pointer system and game modding code in C# and I need to take care of the UI;
I want to make clear that both the c# .exe and electron will run on the same machine and I cannot just add the C# project source to the electron project because It needs to be closed source and obfuscated to avoid misuse of our code.
So, can electron-cgi work with an already built and obfuscated C# executable?
The text was updated successfully, but these errors were encountered: