mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-09 07:24:03 +08:00
fix: typo
This commit is contained in:
parent
f6732f0147
commit
4dd5888a7f
2
public/node_modules/clipboard-event/index.js
generated
vendored
2
public/node_modules/clipboard-event/index.js
generated
vendored
@ -12,7 +12,7 @@ class ClipboardEventListener extends EventEmitter {
|
|||||||
startListening() {
|
startListening() {
|
||||||
const { platform } = process;
|
const { platform } = process;
|
||||||
if (platform === 'win32') {
|
if (platform === 'win32') {
|
||||||
this.child = execFile(path.join(__dirname, 'platform/clipboard-event-handler-mac'));
|
this.child = execFile(path.join(__dirname, 'platform/clipboard-event-handler-win32.exe'));
|
||||||
}
|
}
|
||||||
else if (platform === 'linux') {
|
else if (platform === 'linux') {
|
||||||
// linux: cant execFile without chmod, and cant chmod in app.asar
|
// linux: cant execFile without chmod, and cant chmod in app.asar
|
||||||
|
@ -221,8 +221,8 @@ export default function initPlugin() {
|
|||||||
utools.outPlugin()
|
utools.outPlugin()
|
||||||
}
|
}
|
||||||
listener
|
listener
|
||||||
.on('close', callBack())
|
.on('close', callBack)
|
||||||
.on('exit', callBack())
|
.on('exit', callBack)
|
||||||
.on('error', (error) => {
|
.on('error', (error) => {
|
||||||
utools.showNotification('剪贴板监听出错' + error)
|
utools.showNotification('剪贴板监听出错' + error)
|
||||||
utools.outPlugin()
|
utools.outPlugin()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user