fix(2): The detached window cannot be moved on Win systems

This commit is contained in:
Ivan Prodanov
2022-11-14 22:44:14 +02:00
parent 61b158700f
commit 825ed4daeb

2
app.js
View File

@@ -433,7 +433,7 @@ function createMainWindow(show = false) {
show: false,
skipTaskbar: !show,
autoHideMenuBar: true,
frame: false,
frame: config.get('detachedMode') && process.platform !== 'darwin',
webPreferences: {
nodeIntegration: true,
contextIsolation: false,