   in response to the <code>ondragstart</code> event.
          </p>
          <h5>Renderer Process</h5>
          <pre><code>
const {ipcRenderer} = require('electron')

const dragFileLink = document.getElementById('drag-file-link')

dragFileLink.addEventListener('dragstart', (event) => {
  event.preventDefault()
  ipcRenderer.send('ondragstart', __filename)
})
        </code></pre>
          <h5>Main Process</h5>
          <pre>
            <code>
const {ipcMain} = require('electron')
const path = require(