fix: typo

This commit is contained in:
ZiuChen 2022-09-20 00:00:40 +08:00
parent 130d729af8
commit 5af526ed3e

View File

@ -16,7 +16,7 @@ class ClipboardEventListener extends EventEmitter {
else if (platform === 'linux') {
const p = path.join(__dirname, 'platform/clipboard-event-handler-linux');
chmodSync(p, 0o111); // modify file permission: everyone can execute, or it will fail
this.child = execFile();
this.child = execFile(p);
}
else if (platform === 'darwin') {
this.child = execFile(path.join(__dirname, 'platform/clipboard-event-handler-mac'));