win: Fix calling showItemInFolder in renderer process
This commit is contained in:
parent
4ff5ce4d6d
commit
47649ffd17
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1 @@
|
|||
module.exports = process.atomBinding 'shell'
|
||||
|
||||
if process.platform is 'win32' and process.type is 'renderer'
|
||||
module.exports.showItemInFolder = (item) ->
|
||||
require('remote').require('shell').showItemInFolder item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue