function setAssistantWindowPosition() {
  const displayList = electron.screen.getAllDisplays();
  const displayIndex = getDisplayIndex(displayList);
  const { x, width, height } = displayList[displayIndex].workArea;
  const windowSize = mainWindow.getSize();

  mainWindow.setPosition(
    Math.floor(width / 2 - windowSize[0] / 2 + x),
    Math.floor(height - windowSize[1] - 10),
  );
}
Sets the assistant window position at the bottom-center position
of the given display.