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