mirror of
https://github.com/exituser/Pearcleaner.git
synced 2026-09-17 04:58:56 +00:00
v3.8.4
This commit is contained in:
@@ -561,8 +561,8 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
APP_BUILD = 57;
|
||||
APP_VERSION = 3.8.3;
|
||||
APP_BUILD = 58;
|
||||
APP_VERSION = 3.8.4;
|
||||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
@@ -631,8 +631,8 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
APP_BUILD = 57;
|
||||
APP_VERSION = 3.8.3;
|
||||
APP_BUILD = 58;
|
||||
APP_VERSION = 3.8.4;
|
||||
ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES;
|
||||
CLANG_ANALYZER_NONNULL = YES;
|
||||
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
|
||||
|
||||
@@ -71,7 +71,7 @@ class ReversePathsSearcher {
|
||||
|
||||
guard !skipReverse.contains(where: { itemName.pearFormat().contains($0) }),
|
||||
isSupportedFileType(at: itemURL.path),
|
||||
!isRelatedToInstalledApp(itemPath: itemPath, itemPathOG: itemURL),
|
||||
!isRelatedToInstalledApp(itemURL: itemURL),
|
||||
!isExcludedByConditions(itemPath: itemPath) else {
|
||||
|
||||
return
|
||||
@@ -80,11 +80,22 @@ class ReversePathsSearcher {
|
||||
collection.append(itemURL)
|
||||
}
|
||||
|
||||
private func isRelatedToInstalledApp(itemPath: String, itemPathOG: URL) -> Bool {
|
||||
private func isRelatedToInstalledApp(itemURL: URL) -> Bool {
|
||||
let itemPath = itemURL.path.pearFormat()
|
||||
|
||||
for app in sortedApps {
|
||||
if itemPath.contains(app.bundleIdentifier.pearFormat()) || itemPath.contains(app.appName.pearFormat()) || itemPathOG.containerNameByUUID().pearFormat().contains(app.bundleIdentifier.pearFormat()) {
|
||||
if itemPath.contains(app.bundleIdentifier.pearFormat()) ||
|
||||
itemPath.contains(app.appName.pearFormat()) {
|
||||
return true
|
||||
}
|
||||
|
||||
// Check if the path contains /Containers or /Group Containers
|
||||
if itemURL.path.contains("/Containers/") {
|
||||
let containerName = itemURL.containerNameByUUID().pearFormat()
|
||||
if containerName.contains(app.bundleIdentifier.pearFormat()) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ struct TipsSettingsTab: View {
|
||||
Text("4. After deletion, you can hit CMD + Z to undo while Pearcleaner or Finder is focused")
|
||||
Text("5. While on the Files view for an app, you can open the Condition Builder with CMD + B or from the Tools menubar item Instructions on using Condition Builder are available on the popup sheet")
|
||||
Text("6. On the Files view again, you can hit CMD + E to export a list of the found files or from the Tools menubar item")
|
||||
Text("7. CMD + U will launch the updater")
|
||||
Text("7. CMD + U will check for updates manually")
|
||||
Text("8. CMD + R will refresh the app list. This can also be done from the refresh button in the search bar")
|
||||
Text("9. In the search bar menu button, you will also find Leftover Files which will find files leftover by previously uninstalled applications")
|
||||
Text("10. You can enable a menubar icon from Settings")
|
||||
@@ -35,6 +35,7 @@ struct TipsSettingsTab: View {
|
||||
Text("13. You can enable Homebrew cleanup from Settings")
|
||||
Text("14. You can change the app theme colors from Settings")
|
||||
Text("15. When there's new features available, a new features badge will show at the top of the app list. Same for app updates or missing permissions")
|
||||
Text("16. You can disable animations in the Settings Interface tab plus a few more other options like confirmation dialog when removing files")
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user