From 767232979f70376e161dcc89345da6fe7eaed40e Mon Sep 17 00:00:00 2001 From: Korbs Date: Tue, 31 Dec 2024 02:29:49 -0500 Subject: [PATCH] Update src/process/platform.js --- src/process/platform.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/process/platform.js b/src/process/platform.js index 78eec58..6d30350 100644 --- a/src/process/platform.js +++ b/src/process/platform.js @@ -10,8 +10,6 @@ module.exports = { } if (process.platform === 'linux') { setTimeout(() => { - // When did Electron add their own buttons? Interesting, but I like it. - // mainWindow.webContents.executeJavaScript(`document.querySelector(".linux-titlebar").style.display = 'block'`) mainWindow.webContents.executeJavaScript(`document.querySelector(".titlebar").style.margin = '4px 104px 0px 0px'`) }, 1500); }