diff --git a/src/process/platform.js b/src/process/platform.js index 7df1b37..af369ad 100644 --- a/src/process/platform.js +++ b/src/process/platform.js @@ -14,5 +14,10 @@ module.exports = { mainWindow.webContents.executeJavaScript(`document.querySelector(".linux-titlebar").style.display = 'block'`) }, 1500); } + if (process.platform === 'win32') { + setTimeout(() => { + mainWindow.webContents.executeJavaScript(`document.querySelector(".titlebar").style.right = '145px'`) + }, 1500); + } } } \ No newline at end of file