Rename process.__atom_type to process.type.

This commit is contained in:
Cheng Zhao 2014-05-21 22:44:43 +08:00
parent 70c96eeac6
commit 9721c4e761
7 changed files with 8 additions and 8 deletions

View file

@ -1,4 +1,4 @@
module.exports = process.atomBinding 'shell'
if process.platform is 'win32' and process.__atom_type is 'renderer'
if process.platform is 'win32' and process.type is 'renderer'
module.exports.showItemInFolder = require('remote').process.atomBinding('shell').showItemInFolder