More updates: use string instead of integer to identify blocker type.
This commit is contained in:
parent
532f75fcab
commit
13784e6551
4 changed files with 29 additions and 43 deletions
|
@ -1,8 +1,3 @@
|
|||
bindings = process.atomBinding 'power_save_blocker'
|
||||
|
||||
powerSaveBlocker = bindings.powerSaveBlocker
|
||||
|
||||
powerSaveBlocker.PREVENT_APP_SUSPENSION = 0
|
||||
powerSaveBlocker.PREVENT_DISPLAY_SLEEP = 1
|
||||
|
||||
module.exports = powerSaveBlocker
|
||||
module.exports = bindings.powerSaveBlocker
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue