💄 Fix clipboard on Linux.
This commit is contained in:
parent
950704c7e8
commit
c575d40d63
2 changed files with 3 additions and 3 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue