Windows compatibility fixes (#183)

This commit is contained in:
Philip Peterson 2025-08-30 23:07:24 -07:00 committed by GitHub
parent 40cece79ba
commit a495a38db3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -20,7 +20,7 @@
"chokidar": "^3.6.0", "chokidar": "^3.6.0",
"color": "4.2.3", "color": "4.2.3",
"default-shell": "1.0.1", "default-shell": "1.0.1",
"electron-devtools-installer": "3.2.0", "electron-devtools-installer": "3.2.1",
"quine-electron-drag-click": "1.0.6d", "quine-electron-drag-click": "1.0.6d",
"electron-fetch": "1.9.1", "electron-fetch": "1.9.1",
"electron-is-dev": "2.0.0", "electron-is-dev": "2.0.0",

View file

@ -27,7 +27,9 @@ import toElectronBackgroundColor from '../utils/to-electron-background-color';
import contextMenuTemplate from './contextmenu'; import contextMenuTemplate from './contextmenu';
if(process.platform === 'darwin') {
electronDragClick(); electronDragClick();
}
export function newWindow( export function newWindow(
options_: BrowserWindowConstructorOptions, options_: BrowserWindowConstructorOptions,