Update src/process/platform.js

This commit is contained in:
Korbs 2024-12-31 02:29:49 -05:00
parent 90a9f1d1ec
commit 767232979f

View file

@ -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);
}