hotfix: electron loadURL path

This commit is contained in:
George Lima 2018-11-26 18:16:12 -03:00
parent 67313a95ba
commit 6bf9a11c7e
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function createWindow() {
registerDebugShortcut(app, mainWindow);
tray.setToolTip('ZCash');
mainWindow.loadURL(isDev ? 'http://0.0.0.0:8080/' : `file://${path.join(__dirname, '../dist/index.html')}`);
mainWindow.loadURL(isDev ? 'http://0.0.0.0:8080/' : `file://${path.join(__dirname, '../build/index.html')}`);
const positioner = new Positioner(mainWindow);
let bounds = tray.getBounds();