mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 13:09:26 +00:00
Fix formatting.
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user