Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/ucll/Shared/UnityHub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public string GetEditorPath(string version)
if (appBundlePath == null)
throw new UserException($"Unity version {version} is not installed.");

if (appBundlePath.EndsWith("Unity.exe", StringComparison.OrdinalIgnoreCase))
return appBundlePath;

return Path.Combine(appBundlePath, platformSupport.RelativeEditorPathToExecutable);
}

Expand Down Expand Up @@ -187,4 +190,4 @@ private static void WriteStatusUpdate(string message)
// However, we do want the progress feedback that the Hub provides.
AnsiConsole.MarkupLine($"[cyan]{message}...[/]");
}
}
}