Rename to safe-clipboard

...and use remote only on Linux renderer processes.
This commit is contained in:
Antonio Scandurra
2015-04-14 10:50:09 +02:00
parent 4cb7bde4a6
commit 1c8cf4390c
8 changed files with 12 additions and 12 deletions

View File

@@ -556,7 +556,7 @@ class TextEditorComponent
pasteSelectionClipboard = (event) =>
if event?.which is 2 and process.platform is 'linux'
if selection = require('./native-clipboard').readText('selection')
if selection = require('./safe-clipboard').readText('selection')
@editor.insertText(selection)
window.addEventListener('mousemove', onMouseMove)