mirror of
https://github.com/electron/electron.git
synced 2026-02-11 07:34:57 -05:00
7 lines
213 B
CoffeeScript
7 lines
213 B
CoffeeScript
module.exports =
|
|
if process.platform is 'linux'
|
|
# On Linux we could not access clipboard in renderer process.
|
|
require('remote').process.atomBinding 'clipboard'
|
|
else
|
|
process.atomBinding 'clipboard'
|