From 6c76c81b4832cbc3de5eeea7547f22db3c1c4bd7 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 15 Aug 2021 18:13:41 -0400 Subject: Added icon to electron --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index fa4bb9a..9056340 100644 --- a/index.js +++ b/index.js @@ -5,7 +5,8 @@ const URL = "https://youtube.com/tv" function createWindow() { const win = new BrowserWindow({ fullscreen: true, - autoHideMenuBar: true + autoHideMenuBar: true, + icon: __dirname + "/build/icon.png" }) win.loadURL(URL); -- cgit v1.2.3