diff --git a/index.js b/index.js index 0a291b6..ae9dcd8 100644 --- a/index.js +++ b/index.js @@ -24,7 +24,8 @@ class ElectronStore extends Conf { } openInEditor() { - electron.shell.openItem(this.path); + const open = electron.shell.openItem || electron.shell.openPath; + open(this.path); } }