From 504a606719c28d8ede688cf71224aa6620480e13 Mon Sep 17 00:00:00 2001 From: Alan Rynne Date: Thu, 6 Jun 2024 11:42:06 +0200 Subject: [PATCH] CNX-9295 Speckle Connector doesn't initialize on Mac (#3480) * fix: Rhino Mac initialisation + pluginType flag in csproj * fix: Revert unnecessary modifications --- .../ConnectorRhino/ConnectorRhinoShared/Entry/Plugin.cs | 2 +- ConnectorRhino/ConnectorRhino7/ConnectorRhino7.csproj | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ConnectorRhino/ConnectorRhino/ConnectorRhinoShared/Entry/Plugin.cs b/ConnectorRhino/ConnectorRhino/ConnectorRhinoShared/Entry/Plugin.cs index 067a8e371e..5e3537ea51 100644 --- a/ConnectorRhino/ConnectorRhino/ConnectorRhinoShared/Entry/Plugin.cs +++ b/ConnectorRhino/ConnectorRhino/ConnectorRhinoShared/Entry/Plugin.cs @@ -184,7 +184,7 @@ protected override LoadReturnCode OnLoad(ref string errorMessage) var hostAppName = HostApplications.Rhino.Slug; var hostAppVersion = Utils.GetRhinoHostAppVersion(); - SpeckleLog.Initialize(HostApplications.Rhino.Slug, Utils.GetRhinoHostAppVersion()); + SpeckleLog.Initialize(HostApplications.Rhino.Slug, Utils.GetRhinoHostAppVersion(), logConfig); SpeckleLog.Logger.Information( "Loading Speckle Plugin for host app {hostAppName} version {hostAppVersion}", hostAppName, diff --git a/ConnectorRhino/ConnectorRhino7/ConnectorRhino7.csproj b/ConnectorRhino/ConnectorRhino7/ConnectorRhino7.csproj index 7746ae3948..39ec594c2e 100644 --- a/ConnectorRhino/ConnectorRhino7/ConnectorRhino7.csproj +++ b/ConnectorRhino/ConnectorRhino7/ConnectorRhino7.csproj @@ -25,6 +25,7 @@ true $(DefineConstants);RHINO7;RHINO6_OR_GREATER;RHINO7_OR_GREATER Library + rhp