Skip to content

Commit dbca1f6

Browse files
committed
Fix macos path
1 parent 02d0ed2 commit dbca1f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Packages/com.unity.ide.visualstudio/Editor/VisualStudioCodeInstallation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static bool TryDiscoverInstallation(string editorPath, out IVisualStudioI
100100
if (VisualStudioEditor.IsWindows) // on Windows, editorPath is a file, resources as subdirectory
101101
manifestBase = IOPath.GetDirectoryName(editorPath);
102102
else if (VisualStudioEditor.IsOSX) // on Mac, editorPath is a directory
103-
manifestBase = editorPath;
103+
manifestBase = IOPath.Combine(editorPath, "Contents");
104104
else // on Linux, editorPath is a file, in a bin sub-directory
105105
manifestBase = Directory.GetParent(editorPath).Parent.FullName;
106106

0 commit comments

Comments
 (0)