mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-05-10 04:33:58 +08:00
7 lines
251 B
CoffeeScript
7 lines
251 B
CoffeeScript
module.exports =
|
|
if process.platform is 'linux' and process.__atom_type is 'renderer'
|
|
# On Linux we could not access clipboard in renderer process.
|
|
require('remote').process.atomBinding 'clipboard'
|
|
else
|
|
process.atomBinding 'clipboard'
|