k);
      return;
    }
    try {
      const indexer = document.querySelector('url-indexer');
      await indexer.reindex('saved');
      await indexer.reindex('history');
    } catch(e) {
      console.error(e);
    }
    ipcRenderer.send('data-importer-finished');
  }
  ipcRenderer.on('receiver-start', (e, exportFile) => importData(exportFile));
</script>
</body>
</html>
