fix: capitalize Terebi application name
This commit is contained in:
@@ -12,10 +12,10 @@ enum TerebiBootstrap {
|
||||
let payload = app.appendingPathComponent("Contents/Frameworks/libterebi-player.dylib")
|
||||
guard let library = dlopen(payload.path, RTLD_NOW | RTLD_LOCAL) else {
|
||||
let detail = dlerror().map { String(cString: $0) } ?? "The dynamic loader could not load the player."
|
||||
fail("Could not load the player: \(detail)\n\nPlayer library: \(payload.path)\nRebuild and reinstall terebi.")
|
||||
fail("Could not load the player: \(detail)\n\nPlayer library: \(payload.path)\nRebuild and reinstall Terebi.")
|
||||
}
|
||||
guard let entry = dlsym(library, "terebi_app_main") else {
|
||||
fail("The player library is missing its application entry point. Rebuild and reinstall terebi.")
|
||||
fail("The player library is missing its application entry point. Rebuild and reinstall Terebi.")
|
||||
}
|
||||
// Keep the declared app executable alive so LaunchServices retains its identity.
|
||||
typealias PlayerMain = @convention(c) () -> Void
|
||||
@@ -29,7 +29,7 @@ enum TerebiBootstrap {
|
||||
application.activate(ignoringOtherApps: true)
|
||||
let alert = NSAlert()
|
||||
alert.alertStyle = .critical
|
||||
alert.messageText = "terebi could not start"
|
||||
alert.messageText = "Terebi could not start"
|
||||
alert.informativeText = message
|
||||
alert.addButton(withTitle: "Quit")
|
||||
alert.runModal()
|
||||
|
||||
Reference in New Issue
Block a user