mirror of
https://github.com/electron/electron.git
synced 2026-02-03 11:45:13 -05:00
6 lines
239 B
CoffeeScript
6 lines
239 B
CoffeeScript
if process.platform is 'linux' and process.type is 'renderer'
|
|
# On Linux we could not access clipboard in renderer process.
|
|
module.exports = require('remote').require 'clipboard'
|
|
else
|
|
module.exports = process.atomBinding 'clipboard'
|