From 2389ae32bd2f0497e62d70d3a0264c50efe4c1d2 Mon Sep 17 00:00:00 2001 From: Nitesh Singhal Date: Sun, 7 Dec 2025 18:16:48 +0530 Subject: [PATCH] Update Custom_main.md to clarify usage of custom_main.js --- docs/Using/Custom_main.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Using/Custom_main.md b/docs/Using/Custom_main.md index 2bf9097..dac300f 100644 --- a/docs/Using/Custom_main.md +++ b/docs/Using/Custom_main.md @@ -4,7 +4,7 @@ This guide explains how to include and use a `custom_main.js` file in your Elect ## Why use custom_main.js? -- Add custom Electron features (global shortcuts, tray icons, menus, etc.) +- Register custom protocol handlers (e.g., `myapp://`) — protocols must be registered before the app is fully initialized - Integrate Node.js modules (e.g., telemetry, OS APIs) - Control startup logic (abort, environment checks) - Set up IPC messaging or preload scripts