mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-10 19:56:54 +03:00
fix(cli): fix starting Electron app (#729)
This commit is contained in:
parent
dbc08ab1b4
commit
457a201232
|
@ -9,7 +9,7 @@ export default function openApp(app: boolean | string, options: Options) {
|
|||
const port = options.port ? `--port=${options.port}` : '';
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
spawn.sync(require('electron'), [
|
||||
path.join(__dirname, '..', 'app'),
|
||||
path.join(__dirname, '..', '..', 'app'),
|
||||
port,
|
||||
]);
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user