Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 20, 2023
1 parent 63c8d70 commit 8cb2e5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions ledfx_frontend/electron.js
Expand Up @@ -139,14 +139,14 @@ const ready = () => (
} else {
subpy = require('child_process').spawn(`${path.join(path.dirname(__dirname), isDev ? 'extraResources' : '../extraResources','LedFx/LedFx.exe')}`, ['-p', '8888', '--no-tray']);
}
}
}

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 },
Expand Down Expand Up @@ -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: () => {
Expand Down
14 changes: 7 additions & 7 deletions ledfx_frontend/static/js/main.8393d0b9.js.LICENSE.txt
Expand Up @@ -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
*/

0 comments on commit 8cb2e5c

Please sign in to comment.