fix: 手动安装监听程序不再弹窗

This commit is contained in:
ZiuChen 2022-09-24 18:34:24 +08:00
parent 48786d13a5
commit d58cabc69f
3 changed files with 3 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{
"title": "重要版本更新提示",
"content": "1. 如果你是第一次使用此插件, 请务必设置跟随主程序启动选项, 否则可能导致剪贴板记录丢失</br>2. 插件使用过程中遇到任何问题, 请到论坛发布页回帖或加入QQ群反馈",
"version": 2
"content": "1. 如果你是第一次使用此插件, 请务必设置跟随主程序启动选项, 否则可能导致剪贴板记录丢失</br>2. 请手动安装`clipboard-event-handler`以获得最佳剪贴板监听性能</br>3. 插件使用过程中遇到任何问题, 请到论坛发布页回帖或加入QQ群反馈",
"version": 3
}

View File

@ -240,9 +240,7 @@ export default function initPlugin() {
}
const errorHandler = (error) => {
const info = '请手动安装 clipboard-event-handler 到 剪贴板数据库目录'
const site = 'https://ziuchen.gitee.io/project/ClipboardManager/guide/'
utools.showNotification('启动剪贴板监听出错: ' + error + info)
utools.shellOpenExternal(site)
addCommonListener()
}
listener

View File

@ -3,8 +3,7 @@
<el-card class="setting-card">
<template #header>
<el-button type="primary" @click="handleLinkClick(0)">🚀 主页</el-button>
<el-button @click="handleLinkClick(1)"> 云同步教程</el-button>
<el-button @click="handleLinkClick(1)">💡 创造自己的功能按钮</el-button>
<el-button @click="handleLinkClick(1)"> 手动安装剪贴板监听程序</el-button>
<el-button @click="handleLinkClick(2)"> 开源代码</el-button>
<el-button @click="handleLinkClick(3)">🎈 论坛发布页</el-button>
</template>