package updates

This commit is contained in:
Matthias Kretschmann 2019-05-19 14:02:42 +02:00
parent c1c67d5b94
commit a91a05b9ed
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 3 additions and 6 deletions

View File

@ -39,7 +39,7 @@
"@babel/runtime": "^7.4.4", "@babel/runtime": "^7.4.4",
"@svgr/webpack": "^4.2.0", "@svgr/webpack": "^4.2.0",
"babel-eslint": "^10.0.1", "babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5", "babel-loader": "^8.0.6",
"copy-webpack-plugin": "^5.0.3", "copy-webpack-plugin": "^5.0.3",
"css-loader": "^2.1.1", "css-loader": "^2.1.1",
"electron": "^5.0.1", "electron": "^5.0.1",
@ -51,7 +51,6 @@
"eslint-plugin-react": "^7.13.0", "eslint-plugin-react": "^7.13.0",
"file-loader": "^3.0.1", "file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0", "html-webpack-plugin": "^3.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.17.0", "prettier": "^1.17.0",
"prettier-stylelint": "^0.4.2", "prettier-stylelint": "^0.4.2",
"style-loader": "^0.23.1", "style-loader": "^0.23.1",

View File

@ -22,8 +22,8 @@ const isDarkMode = systemPreferences.isDarkMode()
const createWindow = async () => { const createWindow = async () => {
mainWindow = new BrowserWindow({ mainWindow = new BrowserWindow({
width: width, width,
height: height, height,
minWidth: width, minWidth: width,
minHeight: height, minHeight: height,
acceptFirstMouse: true, acceptFirstMouse: true,
@ -112,8 +112,6 @@ const createWindow = async () => {
touchBarWrapper(mainWindow) touchBarWrapper(mainWindow)
} }
module.exports = { mainWindow }
app.on('ready', () => { app.on('ready', () => {
createWindow() createWindow()