mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-10 19:56:54 +03:00
Fix launching electron app using CLI (#1319)
This commit is contained in:
parent
248aa98c0b
commit
c9293470ec
|
@ -12,7 +12,7 @@ export default async function openApp(app: true | string, options: Options) {
|
|||
try {
|
||||
const port = options.port ? `--port=${options.port}` : '';
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
spawn.sync(require('electron') as string, [
|
||||
spawn(require('electron') as string, [
|
||||
path.join(
|
||||
path.dirname(fileURLToPath(import.meta.url)),
|
||||
'..',
|
||||
|
|
Loading…
Reference in New Issue
Block a user