mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Windows compatibility fixes (#183)
This commit is contained in:
parent
40cece79ba
commit
a495a38db3
2 changed files with 4 additions and 2 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,9 @@ import toElectronBackgroundColor from '../utils/to-electron-background-color';
|
||||||
|
|
||||||
import contextMenuTemplate from './contextmenu';
|
import contextMenuTemplate from './contextmenu';
|
||||||
|
|
||||||
electronDragClick();
|
if(process.platform === 'darwin') {
|
||||||
|
electronDragClick();
|
||||||
|
}
|
||||||
|
|
||||||
export function newWindow(
|
export function newWindow(
|
||||||
options_: BrowserWindowConstructorOptions,
|
options_: BrowserWindowConstructorOptions,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue