meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
7 changed files with
7 additions and
6 deletions
-
.eslintrc
-
src/components/Wrapper.js
-
src/main/app.js
-
src/main/bridge.js
-
src/renderer/index.js
-
src/renderer/initEvents.js
-
webpack/internals.config.js
|
|
@ -18,6 +18,7 @@ |
|
|
|
"no-shadow": 0, |
|
|
|
"no-underscore-dangle": 0, |
|
|
|
"no-void": 0, |
|
|
|
"import/no-extraneous-dependencies": 0, |
|
|
|
"react/jsx-curly-brace-presence": 0, |
|
|
|
"react/jsx-filename-extension": 0, |
|
|
|
"react/prefer-stateless-function": 0, |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import React, { PureComponent } from 'react' |
|
|
|
import { ipcRenderer } from 'electron' // eslint-disable-line import/no-extraneous-dependencies
|
|
|
|
import { ipcRenderer } from 'electron' |
|
|
|
import { Route } from 'react-router' |
|
|
|
import { translate } from 'react-i18next' |
|
|
|
|
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import { app, ipcMain, BrowserWindow } from 'electron' // eslint-disable-line import/no-extraneous-dependencies
|
|
|
|
import { app, ipcMain, BrowserWindow } from 'electron' |
|
|
|
|
|
|
|
// necessary to prevent win from being garbage collected
|
|
|
|
let mainWindow |
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import { fork } from 'child_process' |
|
|
|
import { ipcMain } from 'electron' // eslint-disable-line import/no-extraneous-dependencies
|
|
|
|
import { ipcMain } from 'electron' |
|
|
|
import objectPath from 'object-path' |
|
|
|
import { resolve } from 'path' |
|
|
|
|
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
import React from 'react' |
|
|
|
import { render } from 'react-dom' |
|
|
|
import { AppContainer } from 'react-hot-loader' // eslint-disable-line import/no-extraneous-dependencies
|
|
|
|
import { AppContainer } from 'react-hot-loader' |
|
|
|
import createHistory from 'history/createHashHistory' |
|
|
|
|
|
|
|
import createStore from 'renderer/createStore' |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import { ipcRenderer } from 'electron' // eslint-disable-line import/no-extraneous-dependencies
|
|
|
|
import { ipcRenderer } from 'electron' |
|
|
|
import objectPath from 'object-path' |
|
|
|
|
|
|
|
import { devicesUpdate, deviceAdd, deviceRemove } from 'actions/devices' |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
const path = require('path') |
|
|
|
const fs = require('fs') |
|
|
|
const webpackMain = require('electron-webpack/webpack.main.config') // eslint-disable-line import/no-extraneous-dependencies
|
|
|
|
const webpackMain = require('electron-webpack/webpack.main.config') |
|
|
|
|
|
|
|
const define = require('./define') |
|
|
|
|
|
|
|