fix: preserve app identity through FFmpeg preflight

This commit is contained in:
2026-10-11 02:10:43 +02:00
parent cf24a0fc4f
commit 5f0287f489
7 changed files with 155 additions and 17 deletions
+8 -3
View File
@@ -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