From 7c772035666665a2a0f6f8c14938b425a56bad5f Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Fri, 1 Jul 2016 16:19:32 -0700 Subject: [PATCH] index: avoid using same directory name as where we output the packages --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cbe6cfce..b2467b8b 100644 --- a/index.js +++ b/index.js @@ -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' );