Finder 窗口刷新问题(优胜美地) [英] Finder window refresh issue (Yosemite )
问题描述
我正在开发 Finder Sync 扩展,以便在文件和文件夹上应用徽章...
I am working on Finder Sync extension to apply badges on files and folders ...
我想刷新 Finder 应用程序中特定文件/文件夹的图标.有没有办法在 mac OS Yosemite 上以编程方式刷新查找器窗口???
I want to refresh icon for particular file/folder in Finder application. is there any way to refresh a finder window programmatically on mac OS Yosemite ???
除了创建和删除文件...
Apart from creating and deleting a file...
推荐答案
我也遇到了这个问题.我有一个 .app
我想更改其图标.
I had this problem too. I had a .app
i wanted to change the icon of.
我的 .app
的结构:
...noida.app/
...noida.app/Contents/
...
...noida.app/Contents/Resources/myicon.icns
...
现在我要更改资源文件夹中的图标.然后我在所有文件夹中创建了新文件.这行不通.我可以在
...noida.app/
中创建一个新文件来更新图标的唯一地方,所以我在...noida.app/junk 文件夹中创建了新文件
然后它更新了.Now I would change the icon in the resources folder. Then I made new files in all folders. It wouldn't work. The only place that i could make a new file tha twould update the icon was in the
...noida.app/
so i made new file at...noida.app/junk folder
and then it updated.非常有趣.
这篇关于Finder 窗口刷新问题(优胜美地)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!