From a11e6d555cacb03dcb9e56478b97fa6d5531d6ce Mon Sep 17 00:00:00 2001 From: inhere Date: Mon, 30 Oct 2023 16:22:11 +0800 Subject: [PATCH] fix: read clipboard error on windows --- src/Tool/Clipboard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tool/Clipboard.php b/src/Tool/Clipboard.php index c846193..b5e0b1a 100644 --- a/src/Tool/Clipboard.php +++ b/src/Tool/Clipboard.php @@ -21,7 +21,7 @@ class Clipboard extends AbstractObj public const WRITER_ON_LINUX = 'xsel'; public const READER_ON_MAC = 'pbpaste'; - public const READER_ON_WIN = 'clip'; + public const READER_ON_WIN = 'powershell get-clipboard'; public const READER_ON_LINUX = 'xclip'; /**