Skip to content

Commit 17334bc

Browse files
committed
lowercasing
1 parent dd6851a commit 17334bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/find-unity.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ if (-not $HubDefaultEditor -and $HubInstallDir) {
5555
# --- Build the probe list ---------------------------------------------------
5656

5757
# Layout pieces. macOS Unity ships as a .app bundle so the inner path differs.
58-
$inner = if ($IsMacOS) { 'Unity.App/Contents' } else { 'Editor/Data' }
59-
$rootName = if ($IsMacOS) { 'Unity.App' } else { 'Editor' }
58+
$inner = if ($IsMacOS) { 'Unity.app/Contents' } else { 'Editor/Data' }
59+
$rootName = if ($IsMacOS) { 'Unity.app' } else { 'Editor' }
6060

6161
# Each "install" candidate is a directory like <hub>/<version>/ that contains
62-
# either Editor/ (win/linux) or Unity.App/ (mac).
62+
# either Editor/ (win/linux) or Unity.app/ (mac).
6363
$installs = [System.Collections.Generic.List[string]]::new()
6464
if ($IsLinux -and $env:UNITY_PATH) { $installs.Add($env:UNITY_PATH) }
6565
if ($HubInstallDir -and $UnityVersion) { $installs.Add((Join-Path $HubInstallDir $UnityVersion)) }

0 commit comments

Comments
 (0)