Revision: 28086 http://sourceforge.net/p/bibdesk/svn/28086 Author: hofman Date: 2022-11-27 16:02:05 +0000 (Sun, 27 Nov 2022) Log Message: ----------- use URLForAuxiliaryExecutable to get path of relaunch tool
Modified Paths: -------------- trunk/bibdesk/BDSKApplication.m Modified: trunk/bibdesk/BDSKApplication.m =================================================================== --- trunk/bibdesk/BDSKApplication.m 2022-11-27 10:27:51 UTC (rev 28085) +++ trunk/bibdesk/BDSKApplication.m 2022-11-27 16:02:05 UTC (rev 28086) @@ -69,7 +69,7 @@ } - (void)relaunch { - NSString *relaunchPath = [[[[NSBundle mainBundle] executablePath] stringByDeletingLastPathComponent] stringByAppendingPathComponent:@"relaunch"]; + NSString *relaunchPath = [[[NSBundle mainBundle] URLForAuxiliaryExecutable:@"relaunch"] path]; if ([[NSFileManager defaultManager] isExecutableFileAtPath:relaunchPath] == NO) { NSBeep(); return; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit