We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f5801f commit 03ba8e2Copy full SHA for 03ba8e2
packages/electron/src/cli.ts
@@ -2,7 +2,7 @@ import { execaSync } from 'execa'
2
import electron from 'electron'
3
import { resolve } from 'pathe'
4
5
-const appPath = resolve(new URL('../dist/app.cjs', import.meta.url).pathname)
+const appPath = decodeURIComponent(resolve(new URL('../dist/app.cjs', import.meta.url).pathname))
6
const argv = process.argv.slice(2)
7
8
const result = execaSync(electron as unknown as string, [appPath].concat(argv), {
0 commit comments