fix: preserve app identity through FFmpeg preflight
This commit is contained in:
@@ -1167,9 +1167,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
#if !PLAYER_CHECK
|
||||
@main
|
||||
#endif
|
||||
@MainActor
|
||||
struct TerebiApp: App {
|
||||
@NSApplicationDelegateAdaptor(AppDelegate.self) private var delegate
|
||||
@@ -1228,3 +1225,11 @@ struct TerebiApp: App {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if !PLAYER_CHECK
|
||||
@_cdecl("terebi_app_main")
|
||||
@MainActor
|
||||
public func terebiAppMain() {
|
||||
TerebiApp.main()
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user