Skip to content

Commit dce2f75

Browse files
committed
closes #2
1 parent b12cf95 commit dce2f75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ module.exports = api => {
1515

1616
const execa = require('execa');
1717
const electronWebpackPath =
18-
api.resolve('.') + '\\node_modules\\.bin\\electron-webpack';
18+
api.resolve('.') + '/node_modules/.bin/electron-webpack';
1919
const electronBuilderPath =
20-
api.resolve('.') + '\\node_modules\\.bin\\electron-builder';
20+
api.resolve('.') + '/node_modules/.bin/electron-builder';
2121
let index = rawArgs.indexOf('--webpack');
2222
let builderArgs;
2323
let webpackArgs;
@@ -71,7 +71,7 @@ module.exports = api => {
7171

7272
const execa = require('execa');
7373
const electronWebpackPath =
74-
api.resolve('.') + '\\node_modules\\.bin\\electron-webpack';
74+
api.resolve('.') + '/node_modules/.bin/electron-webpack';
7575
return new Promise((resolve, reject) => {
7676
const child = execa(electronWebpackPath, ['dev'], {
7777
cwd: api.resolve('.'),

0 commit comments

Comments
 (0)