electron-in-action/firesale

Chapter 8: shell.openItem() no longer exists

Opened this issue · 0 comments

Need to fix the example to do something like this:

  shell.openPath(filePath)
    .then(err => {
      if (err !== '') {
        alert(err)
      }
    })