mirror of https://github.com/LedFx/LedFx.git
Linting
This commit is contained in:
parent
893f595167
commit
b5ea4d2edc
|
@ -139,14 +139,14 @@ const ready = () => (
|
|||
} else {
|
||||
subpy = require('child_process').spawn(`${path.join(path.dirname(__dirname), isDev ? 'extraResources' : '../extraResources','LedFx-notray.exe')}`, ['-p', '8888']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
wind = integratedCore
|
||||
? createWindow({ additionalArguments: ['integratedCore'] })
|
||||
: createWindow();
|
||||
|
||||
require('@electron/remote/main').enable(wind.webContents);
|
||||
|
||||
|
||||
if (isDev) {
|
||||
await installExtension([REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS], {
|
||||
loadExtensionOptions: { allowFileAccess: true },
|
||||
|
@ -200,7 +200,7 @@ const ready = () => (
|
|||
contextMenu = Menu.buildFromTemplate([
|
||||
{ label: 'Show', click: () => {
|
||||
if (process.platform === 'darwin') app.dock.show()
|
||||
wind.show()
|
||||
wind.show()
|
||||
}},
|
||||
{ label: 'Minimize', click: () => wind.minimize() },
|
||||
{ label: 'Minimize to tray', click: () => {
|
||||
|
|
|
@ -168,11 +168,11 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**!
|
||||
* hotkeys-js v3.9.4
|
||||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
|
||||
*
|
||||
* Copyright (c) 2022 kenny wong <wowohoo@qq.com>
|
||||
* http://jaywcjlove.github.io/hotkeys
|
||||
* Licensed under the MIT license
|
||||
/**!
|
||||
* hotkeys-js v3.9.4
|
||||
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
|
||||
*
|
||||
* Copyright (c) 2022 kenny wong <wowohoo@qq.com>
|
||||
* http://jaywcjlove.github.io/hotkeys
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue