mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-22 11:25:42 +01:00
Correction for previous commit
This commit is contained in:
parent
3513285889
commit
dc6f6ee6f2
@ -82,7 +82,6 @@ extension AppDelegate {
|
||||
func removeAsLoginItem() -> Bool {
|
||||
// remove any Clover.app logged in
|
||||
self.removeLaunchAtStartup() // call new method too (just in case store login item somewhere..)
|
||||
print("removeAsLoginItem()")
|
||||
let sharedFileList = LSSharedFileListCreate(nil,
|
||||
kLSSharedFileListSessionLoginItems.takeRetainedValue(),
|
||||
nil).takeRetainedValue()
|
||||
@ -93,7 +92,7 @@ extension AppDelegate {
|
||||
let bi = info[kCFBundleIdentifierKey as String] as? String
|
||||
if bi == Bundle.main.bundleIdentifier {
|
||||
let status = LSSharedFileListItemRemove(sharedFileList, item)
|
||||
print(status)
|
||||
return status == 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user