Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 2545d14

Browse files
Paul BalajiJamie Brynes
authored andcommitted
Fix local launch on mac (#1118)
1 parent 2daf7da commit 2545d14

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

workers/unity/Packages/io.improbable.gdk.tools/LocalLaunch.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,12 @@ public static void LaunchLocalDeployment()
212212
GdkToolsConfiguration toolsConfig = GdkToolsConfiguration.GetOrCreateInstance();
213213

214214
var command = Common.SpatialBinary;
215+
216+
#if UNITY_EDITOR_OSX
217+
var commandArgs = $"local launch --enable_pre_run_check=false --snapshot '{toolsConfig.CustomSnapshotPath}'";
218+
#else
215219
var commandArgs = $"local launch --enable_pre_run_check=false --snapshot \"{toolsConfig.CustomSnapshotPath}\"";
220+
#endif
216221

217222
var runtimeIp = EditorPrefs.GetString(Common.RuntimeIpEditorPrefKey);
218223
if (!string.IsNullOrEmpty(runtimeIp))

0 commit comments

Comments
 (0)