6 lines
244 B
CoffeeScript
6 lines
244 B
CoffeeScript
module.exports =
|
|
if process.platform is 'linux' and process.type is 'renderer'
|
|
# On Linux we could not access clipboard in renderer process.
|
|
require('remote').process.atomBinding 'clipboard'
|
|
else
|
|
process.atomBinding 'clipboard'
|