mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Fix formatting.
This commit is contained in:
parent
8a066a4ec0
commit
5be8084473
@ -28,9 +28,9 @@ function createWindow() {
|
|||||||
mainWindow.loadURL("http://localhost:" + config.port);
|
mainWindow.loadURL("http://localhost:" + config.port);
|
||||||
|
|
||||||
// Open the DevTools if run with "npm start dev"
|
// Open the DevTools if run with "npm start dev"
|
||||||
if(process.argv[2] == "dev"){
|
if(process.argv[2] == "dev"){
|
||||||
mainWindow.webContents.openDevTools();
|
mainWindow.webContents.openDevTools();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Emitted when the window is closed.
|
// Emitted when the window is closed.
|
||||||
mainWindow.on("closed", function() {
|
mainWindow.on("closed", function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user