Comment on app path inferral from launcher
This commit is contained in:
parent
0ff831f021
commit
15dec59692
|
@ -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)
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue