Skip to content

Commit e7222b9

Browse files
committed
extra fallback
1 parent 46300da commit e7222b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lara/views/fm/SantanderView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,8 @@ private enum santanderfs {
14591459
guard let plist = NSDictionary(contentsOf: URL(fileURLWithPath: infopath)) else { return nil }
14601460
return (plist["CFBundleDisplayName"] as? String) ??
14611461
(plist["CFBundleName"] as? String) ??
1462-
(plist["CFBundleExecutable"] as? String)
1462+
(plist["CFBundleExecutable"] as? String) ??
1463+
URL(fileURLWithPath: path).deletingPathExtension().lastPathComponent
14631464
}
14641465

14651466
if URL(fileURLWithPath: path).pathExtension == "app" {

0 commit comments

Comments
 (0)