index: avoid using same directory name as where we output the packages

This commit is contained in:
Guillermo Rauch 2016-07-01 16:19:32 -07:00
parent 3d06004a64
commit 7c77203566

View file

@ -15,7 +15,7 @@ const url = 'file://' + resolve(
isDev ? __dirname : app.getAppPath(),
// in prod version, we copy over index.html and dist from 'app'
// into one dist folder to avoid unwanted files in package
isDev ? 'app' : 'dist',
isDev ? 'app' : 'build',
'index.html'
);