Skip to content

Commit 62d7ace

Browse files
authored
Fixed cmd path (#151)
1 parent e1d923d commit 62d7ace

File tree

1 file changed

+4
-3
lines changed
  • src/renderer/actions/apps/electron

1 file changed

+4
-3
lines changed

src/renderer/actions/apps/electron/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ export class Electron {
4242
// const debugPort = await getPort({ port: proxyPort });
4343
const debugPort = proxyPort;
4444
const { pathToApplication } = options;
45-
const cmd = isAppBundle(pathToApplication)
46-
? await findExecutableInApp(pathToApplication)
47-
: pathToApplication;
45+
// const cmd = isAppBundle(pathToApplication)
46+
// ? await findExecutableInApp(pathToApplication)
47+
// : pathToApplication;
48+
const cmd = await findExecutableInApp(pathToApplication);
4849
const appProcess = spawn(cmd, [`--inspect-brk=${debugPort}`], {
4950
stdio: "inherit",
5051
env: Object.assign(

0 commit comments

Comments
 (0)