lemon-cleaner icon indicating copy to clipboard operation
lemon-cleaner copied to clipboard

卸载不如APP cleaner & installer干净, 部分内容不会被检索到

Open LingweiMeng opened this issue 3 years ago • 2 comments

卸载APP时, APP在 /Users/USERNAME/Library/Application Support/ 该目录下的相关内容不会被检索到

LingweiMeng avatar Jul 23 '22 12:07 LingweiMeng

我看了下 LemonUninstaller 里面 LMLocalAppListManager 类 getAppsByEnumDir 这个方法,初始化如下

        scanPaths =  @[@"/Applications",
                    [@"~/Applications" stringByExpandingTildeInPath],
                    [@"~/Downloads" stringByExpandingTildeInPath],
                    [@"~/Desktop" stringByExpandingTildeInPath],
                    [@"~/Documents" stringByExpandingTildeInPath]];

没有 ~/Library/Application Support, 想加就自己加呗,但是这里有麻烦的地方,他这个扫描方法的扫描深度是 0,在 Applications 里面最多一层或者两层就能找到.app ,但是在 Support 里面就不好说了,会扫描很多很多地方,这个后续应该会考虑加一些特定 case

clcy1243 avatar Jul 28 '22 04:07 clcy1243

支持增加 support 的扫描。

gaozheng19821017 avatar Apr 16 '23 04:04 gaozheng19821017