first commit
This commit is contained in:
14
app_vue/node_modules/clipboardy/lib/macos.js
generated
vendored
Normal file
14
app_vue/node_modules/clipboardy/lib/macos.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
const execa = require('execa');
|
||||
|
||||
const env = {
|
||||
...process.env,
|
||||
LC_CTYPE: 'UTF-8'
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
copy: async options => execa('pbcopy', {...options, env}),
|
||||
paste: async options => execa.stdout('pbpaste', {...options, env}),
|
||||
copySync: options => execa.sync('pbcopy', {...options, env}),
|
||||
pasteSync: options => execa.sync('pbpaste', {...options, env})
|
||||
};
|
Reference in New Issue
Block a user