Rename process.__atom_type to process.type.
This commit is contained in:
parent
70c96eeac6
commit
9721c4e761
7 changed files with 8 additions and 8 deletions
|
@ -3,7 +3,7 @@ url = require 'url'
|
|||
Module = require 'module'
|
||||
|
||||
# Expose information of current process.
|
||||
process.__atom_type = 'renderer'
|
||||
process.type = 'renderer'
|
||||
process.resourcesPath = path.resolve process.argv[1], '..', '..', '..', '..'
|
||||
|
||||
# We modified the original process.argv to let node.js load the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue