mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +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);
|
||||
|
||||
// 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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user