File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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()
6464if ($IsLinux -and $env: UNITY_PATH ) { $installs.Add ($env: UNITY_PATH ) }
6565if ($HubInstallDir -and $UnityVersion ) { $installs.Add ((Join-Path $HubInstallDir $UnityVersion )) }
You can’t perform that action at this time.
0 commit comments