💄 Fix clipboard on Linux.

This commit is contained in:
Cheng Zhao 2014-06-05 15:22:36 +08:00
parent 950704c7e8
commit c575d40d63
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
if process.platform is 'linux' and process.type is 'renderer'
# On Linux we could not access clipboard in renderer process.
module.exports = require('remote').process.atomBinding 'clipboard'
module.exports = require('remote').require 'clipboard'
else
binding = process.atomBinding 'clipboard'