diff --git a/Passepartout/Launcher/Constants/Constants+Launcher.swift b/Passepartout/Launcher/Constants/Constants+Launcher.swift index 44618dea..df34047c 100644 --- a/Passepartout/Launcher/Constants/Constants+Launcher.swift +++ b/Passepartout/Launcher/Constants/Constants+Launcher.swift @@ -32,7 +32,10 @@ extension Constants { private static let appPath: String = { let path = Bundle.main.bundlePath as NSString var components = path.pathComponents + + // Passepartout.app/Contents/Library/LoginItems/PassepartoutLauncher.app components.removeLast(4) + return NSString.path(withComponents: components) }()