diff --git a/Resources/Info.plist b/Resources/Info.plist index 7f9b895..09c843a 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.4.1 + 0.4.2 CFBundleVersion 1 LSMinimumSystemVersion diff --git a/Sources/Applications/Logic/ApplicationsLogicController.swift b/Sources/Applications/Logic/ApplicationsLogicController.swift index 9329565..c35f957 100644 --- a/Sources/Applications/Logic/ApplicationsLogicController.swift +++ b/Sources/Applications/Logic/ApplicationsLogicController.swift @@ -73,6 +73,12 @@ class ApplicationsLogicController { let bundleIdentifier = plist.value(forPlistKey: .bundleIdentifier), let bundleName = plist.value(forPlistKey: .bundleName) else { continue } + // Exclude Electron apps + let electronPath = "\(url.path)/Contents/Frameworks/Electron Framework.framework" + if FileManager.default.fileExists(atPath: electronPath) { + continue + } + let suffix = "Preferences/\(bundleIdentifier).plist" let appPreferenceUrl = libraryDirectory.appendingPathComponent(suffix) let appContainerPreferenceUrl = libraryDirectory.appendingPathComponent("Containers/\(bundleIdentifier)/Data/Library/\(suffix)")