DB paths working on mac now
This commit is contained in:
@@ -50,9 +50,10 @@ const createWindow = () => {
|
||||
path.join(__dirname, "../renderer/main_window/index.html")
|
||||
);
|
||||
}
|
||||
|
||||
// Open the DevTools.
|
||||
mainWindow.webContents.openDevTools();
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
// Open the DevTools.
|
||||
mainWindow.webContents.openDevTools();
|
||||
}
|
||||
};
|
||||
|
||||
// This method will be called when Electron has finished
|
||||
|
||||
Reference in New Issue
Block a user