1
0
mirror of https://github.com/mgerb/ps-launcher synced 2026-01-09 18:12:50 +00:00

lots of progress - basic functionality work - bundling working

This commit is contained in:
2017-10-18 23:37:05 -05:00
parent c4e028d102
commit 96f9c4ca5d
27 changed files with 1178 additions and 174 deletions

16
main.js
View File

@@ -16,15 +16,15 @@ function createWindow() {
mainWindow = new BrowserWindow({ width: 800, height: 600, frame: false });
// and load the index.html of the app.
// mainWindow.loadURL(
// url.format({
// pathname: path.join(__dirname, './dist/index.html'),
// protocol: 'file:',
// slashes: true,
// }),
// );
mainWindow.loadURL(
url.format({
pathname: path.join(__dirname, './dist/index.html'),
protocol: 'file:',
slashes: true,
}),
);
mainWindow.loadURL('http://localhost:8080');
// mainWindow.loadURL('http://localhost:8080');
// Open the DevTools.
// mainWindow.webContents.openDevTools()