message: electron-205: fixes the already fixed issue post merge conflict regression
diff: @@ -271,17 +271,13 @@ function doCreateMainWindow(initialUrl, initialBounds) {
  // We check the downloads directory to see if a file with the similar name
  // already exists and get a unique filename if that's the case
  let newFileName = getUniqueFileName(item.getFilename());
  + if (isMac) {
  item.setSavePath(downloadsDirectory + "/" + newFileName);
  -
  - // Send file path to construct the DOM in the UI when the download is complete
  -
  - // if the user has set a custom downloads directory, save file to that directory
  - // if otherwise, we save it to the operating system's default downloads directory
  - if (downloadsDirectory) {
  - item.setSavePath(downloadsDirectory + "/" + item.getFilename());
  + } else {
  + item.setSavePath(downloadsDirectory + "\\" + newFileName);
  }
  - // Send file path when download is complete
  + // Send file path to construct the DOM in the UI when the download is complete
  item.once('done', (e, state) => {
  if (state === 'completed') {
  let data = {
  