Update SoraApp.swift

This commit is contained in:
cranci 2025-06-01 15:49:04 +02:00 committed by GitHub
parent 1afd46f9a7
commit b5d868dcfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -177,11 +177,16 @@ struct SoraApp: App {
}
}
}
class AppInfo: NSObject {
@objc func getBundleIdentifier() -> String {
return Bundle.main.bundleIdentifier ?? "me.cranci.sulfur"
}
@objc func getDisplayName() -> String {
return Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String ??
Bundle.main.object(forInfoDictionaryKey: "CFBundleName") as? String ??
"Sora"
}
}
class AppDelegate: NSObject, UIApplicationDelegate {