+3
-4
@@ -1,2 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| import { spawn } from 'node:child_process'; | ||
@@ -20,8 +19,8 @@ const TIMEOUT = 2000; | ||
| case 'openbsd': | ||
| if (process.env.WSL_DISTRO_NAME) { | ||
| return ['powershell.exe', ['-noprofile', '-command', 'Get-Clipboard']]; | ||
| } | ||
| if (process.env.WAYLAND_DISPLAY) { | ||
| return ['wl-paste', []]; | ||
| } | ||
| if (process.env.WSL_DISTRO_NAME) { | ||
| return ['powershell.exe', ['-noprofile', '-command', 'Get-Clipboard']]; | ||
| } | ||
| if (await checkUnixCommandExists('xsel')) { | ||
@@ -28,0 +27,0 @@ return ['xsel', ['--clipboard', '--output']]; |
+1
-1
| { | ||
| "name": "tinyclip", | ||
| "packageManager": "pnpm@10.30.1", | ||
| "version": "0.1.8", | ||
| "version": "0.1.9", | ||
| "description": "A tiny utility to interact with the system clipboard.", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
6736
-0.46%116
-0.85%