clipboardy
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -20,7 +20,9 @@ 'use strict'; | ||
const winBinPath = path.join(__dirname, 'fallbacks/win-read.vbs'); | ||
const win32 = { | ||
copy: opts => execa('clip', [], opts), | ||
paste: opts => execa.stdout('cscript', ['/Nologo', '.\\fallbacks\\win-read.vbs'], opts), | ||
paste: opts => execa.stdout('cscript', ['/Nologo', winBinPath], opts), | ||
copySync: opts => execa.sync('clip', [], opts), | ||
pasteSync: opts => execa.sync('cscript', ['/Nologo', '.\\fallbacks\\win-read.vbs'], opts) | ||
pasteSync: opts => execa.sync('cscript', ['/Nologo', winBinPath], opts) | ||
}; | ||
@@ -27,0 +29,0 @@ |
{ | ||
"name": "clipboardy", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Access the system clipboard (copy/paste)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134876
81