From 23f70813690d6ea77a7dcb31529e1d00ce9aefb2 Mon Sep 17 00:00:00 2001 From: xinu Date: Tue, 7 Apr 2020 11:31:51 +0800 Subject: [PATCH] =?UTF-8?q?'=E6=96=B0=E5=A2=9E=E5=8F=91=E9=80=81=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E9=80=9A=E7=9F=A5=E8=BE=93=E5=87=BA=E5=A4=84=E7=90=86?= =?UTF-8?q?''?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/index.js | 5 +++++ assets/options.js | 1 + 2 files changed, 6 insertions(+) diff --git a/assets/index.js b/assets/index.js index 3996f38..03d7e25 100644 --- a/assets/index.js +++ b/assets/index.js @@ -73,6 +73,11 @@ function runCmd(cmd, option, codec, output) { copyTo(stdout); paste(); break; + case "notice": + // 发送系统通知 + utools.showNotification(stdout, null, true); + utools.outPlugin(); + break; case "ignore": default: break; diff --git a/assets/options.js b/assets/options.js index 2335937..4f05a40 100644 --- a/assets/options.js +++ b/assets/options.js @@ -218,6 +218,7 @@ showCustomize = () => { +