Is there a way to imrpove startup speed in packed electron app? #808

Closed
opened 2026-01-29 16:49:09 +00:00 by claunia · 1 comment
Owner

Originally created by @wthks on GitHub (Jun 30, 2022).

Originally assigned to: @GregorBiswanger on GitHub.

When I build my electron app with single file, the electron app takes about 10 seconds to start the splash screen. however when I start the app from the win_unpacked folder the splashscreen shows in 1,2 seconds.

Is there any way to make that faster? I think the electron app first unpacks the files and then starts the app..

Originally created by @wthks on GitHub (Jun 30, 2022). Originally assigned to: @GregorBiswanger on GitHub. When I build my electron app with single file, the electron app takes about 10 seconds to start the splash screen. however when I start the app from the win_unpacked folder the splashscreen shows in 1,2 seconds. Is there any way to make that faster? I think the electron app first unpacks the files and then starts the app..
Author
Owner

@GregorBiswanger commented on GitHub (Mar 28, 2023):

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉

With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!

P.S. On Windows, Windows Defender starts with non-certified Electron applications and delays the start process by several seconds. You can store your project directory in Windows Defender as Ignore and the application rips like a rocket.

@GregorBiswanger commented on GitHub (Mar 28, 2023): 🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉 With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun! P.S. On Windows, Windows Defender starts with non-certified Electron applications and delays the start process by several seconds. You can store your project directory in Windows Defender as Ignore and the application rips like a rocket.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#808