简体   繁体   English

FinderSync 扩展与 Dropbox 冲突

[英]FinderSync extension conflicts with Dropbox

I have made a FinderSync extension, app but every folder monitored by Dropbox (to show the "Move to Dropbox" context menu) prevents my extension to show file badge icons inside that folder.我制作了一个 FinderSync 扩展应用程序,但 Dropbox 监控的每个文件夹(以显示“移动到 Dropbox”上下文菜单)都会阻止我的扩展程序在该文件夹内显示文件徽章图标。 The folders I know Dropbox uses: ~/Dropbox, ~/Documents and ~/Desktop.我知道 Dropbox 使用的文件夹:~/Dropbox、~/Documents 和 ~/Desktop。

I read that the extension that gets enabled first takes the "ownership" of folder badge control.我读到首先启用的扩展程序拥有文件夹徽章控制的“所有权”。

Does anyone know a workaround for this?有谁知道解决方法?

What you can do is to restart DropBox Finder Integration on start of your app.您可以做的是在您的应用程序启动时重新启动 DropBox Finder 集成。 This way your extension has higher priority for common folders.这样,您的扩展程序对常用文件夹具有更高的优先级。 I'm issuing this bash command at start:我在开始时发出这个 bash 命令:

pluginkit -e ignore  -i com.getdropbox.dropbox.garcon;
pluginkit -e use  -i com.yourcompany.yourextension;
pluginkit -e use  -i com.getdropbox.dropbox.garcon;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM