-
-
Notifications
You must be signed in to change notification settings - Fork 739
Description
- ElectronNET.Core: 0.0.18
- ElectronNET.Core.API: 0.0.18
- ElectronNET.Core.AspNet: 0.0.18
- dotnet: 8
- nodejs: v22.19.0
- Target: Windows
When publishing the electronNET app and running it twice (even with a pause between opening the app again and singleInstance turned off) another instance of the app doesn't open, but rather focuses the already open instance. Single Mode is turned off in the csproj:
![]()
and when building the app, this is also reflected in the generated package.json.
The only log when you start the application again is:
Entry!!!:
I've also tried it with the unpackaged exe after a build to see if singleInstance mode is really turned off by changing the main.js to log the singleInstance variable it uses. And although it is turned off and the app has the exact same behaviour, I get more logs in the console:
** Steps to Reproduce: **
- Create an app using ElectronNET.Core
- change singleInstance to false in the csproj as seen in the image
- publish the project
- open the generated exe once and wait for it to open
- open the generated exe again
PS: so happy to see this project progress :) Thanks for the awesome work!