$OpenBSD: patch-src_Core_Debug_OODebugTCPConsoleClient_m,v 1.5 2021/02/26 18:20:33 naddy Exp $
--- src/Core/Debug/OODebugTCPConsoleClient.m.orig	Sun Aug 30 05:40:23 2009
+++ src/Core/Debug/OODebugTCPConsoleClient.m	Mon Aug 18 18:28:09 2014
@@ -157,7 +157,7 @@ OOINLINE BOOL StatusIsSendable(OOTCPClientConnectionSt
 			// Attempt to connect
 			parameters = [NSDictionary dictionaryWithObjectsAndKeys:
 							[NSNumber numberWithUnsignedInt:kOOTCPProtocolVersion_1_1_0], kOOTCPProtocolVersion,
-							[[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"], kOOTCPOoliteVersion,
+							[[[NSBundle bundleWithPath: BUNDLE_PATH] infoDictionary] objectForKey:@"CFBundleVersion"], kOOTCPOoliteVersion,
 							nil];
 			[self sendPacket:kOOTCPPacket_RequestConnection
 			   withParameters:parameters];
