diff options
| author | Lex Neva <github.com@lexneva.name> | 2019-04-15 19:56:30 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2019-04-15 19:56:30 -0400 |
| commit | 884e193384ee34bbcb2a7cc7aa39b40e1c3334a9 (patch) | |
| tree | 93781f948a5e2a544a84ad81819a0793515a636f | |
| parent | 9b2a47136b34a4b9cfcc42282a39fdd909e9f8af (diff) | |
rename main.js and don't open dev tools
| -rw-r--r-- | electron/package.json | 2 | ||||
| -rw-r--r-- | electron/src/main.js (renamed from electron/src/index.js) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/electron/package.json b/electron/package.json index c902b205..dbdbfd14 100644 --- a/electron/package.json +++ b/electron/package.json @@ -3,7 +3,7 @@ "productName": "inkstitch-gui", "version": "1.0.0", "description": "Ink/Stitch GUI", - "main": "src/index.js", + "main": "src/main.js", "scripts": { "pack": "electron-builder --dir", "dist": "electron-builder", diff --git a/electron/src/index.js b/electron/src/main.js index 90aaea63..f78680e0 100644 --- a/electron/src/index.js +++ b/electron/src/main.js @@ -20,7 +20,7 @@ const createWindow = () => { } mainWindow.loadURL(url); - mainWindow.webContents.openDevTools(); + //mainWindow.webContents.openDevTools(); // Emitted when the window is closed. mainWindow.on('closed', () => { |
