mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +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 {
|
try {
|
||||||
const port = options.port ? `--port=${options.port}` : '';
|
const port = options.port ? `--port=${options.port}` : '';
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
spawn.sync(require('electron') as string, [
|
spawn(require('electron') as string, [
|
||||||
path.join(
|
path.join(
|
||||||
path.dirname(fileURLToPath(import.meta.url)),
|
path.dirname(fileURLToPath(import.meta.url)),
|
||||||
'..',
|
'..',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user