mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-29 08:04:32 +00:00
Fix: Migrations
This commit is contained in:
parent
471fb6723e
commit
be152c1531
41 changed files with 2373 additions and 1321 deletions
|
|
@ -26,13 +26,6 @@ struct AppIcons {
|
|||
return getIcon(file: path)
|
||||
}
|
||||
|
||||
func getIcon(application: String) -> NSImage? {
|
||||
guard let path = NSWorkspace.shared.fullPath(forApplication: application)
|
||||
else { return nil }
|
||||
|
||||
return getIcon(file: path)
|
||||
}
|
||||
|
||||
/// Easily read Info.plist as a Dictionary from any bundle by accessing .infoDictionary on Bundle
|
||||
func bundle(forBundleID: String) -> Bundle? {
|
||||
guard let url = NSWorkspace.shared.urlForApplication(withBundleIdentifier: forBundleID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue