From 41282f5c06288a373673d3f3fd4eb02f9e617704 Mon Sep 17 00:00:00 2001 From: fofolee Date: Thu, 6 Jun 2024 15:16:13 +0800 Subject: [PATCH] =?UTF-8?q?quickcommand.writeClipboard=E5=86=99=E5=85=A5?= =?UTF-8?q?=E9=9D=9E=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=95=B0=E6=8D=AE=E5=89=8D?= =?UTF-8?q?=E4=BC=9A=E5=85=88=E8=BD=AC=E6=8D=A2=E4=B8=BA=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/preload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/preload.js b/plugin/preload.js index c470cc8..a61a00b 100644 --- a/plugin/preload.js +++ b/plugin/preload.js @@ -226,7 +226,7 @@ window.quickcommand = { }, writeClipboard: function(text) { - electron.clipboard.writeText(text) + electron.clipboard.writeText(text.toString()) } }