@@ -28,7 +28,7 @@ public class RuntimeInstaller {
2828                                                           betaNumber:  downloadable. betaNumber, 
2929                                                           version:  downloadable. simulatorVersion. version, 
3030                                                           build:  downloadable. simulatorVersion. buildUpdate, 
31-                                                            state :  $0. kind) ) 
31+                                                            kind :  $0. kind) ) 
3232                } 
3333            }  else  { 
3434                mappedRuntimes. append ( PrintableRuntime ( platform:  downloadable. platform, 
@@ -47,7 +47,7 @@ public class RuntimeInstaller {
4747                                          betaNumber:  resolvedBetaNumber, 
4848                                          version:  runtime. version, 
4949                                          build:  runtime. build, 
50-                                           state :  runtime. kind) 
50+                                           kind :  runtime. kind) 
5151
5252            mappedRuntimes. indices  { 
5353                result. visibleIdentifier ==  $0. visibleIdentifier
@@ -71,17 +71,20 @@ public class RuntimeInstaller {
7171            } 
7272
7373            for  runtime  in  sortedRuntimes { 
74-                 if  !includeBetas && runtime. betaNumber !=  nil  && runtime. state  ==  nil  { 
74+                 if  !includeBetas && runtime. betaNumber !=  nil  && runtime. kind  ==  nil  { 
7575                    continue 
7676                } 
7777                var  str  =  runtime. visibleIdentifier
7878                if  runtime. hasDuplicateVersion { 
7979                    str +=  "  ( \( runtime. build) ) " 
8080                } 
81-                 if  runtime. state ==  . legacyDownload || runtime. state ==  . diskImage || runtime. state ==  . cryptexDiskImage { 
82-                     str +=  "  (Installed) " 
83-                 }  else  if  runtime. state ==  . bundled { 
84-                     str +=  "  (Bundled with selected Xcode) " 
81+                 if  let  kind =  runtime. kind { 
82+                     switch  kind { 
83+                     case  . bundled: 
84+                         str +=  "  (Bundled with selected Xcode) " 
85+                     case  . legacyDownload,  . diskImage,  . cryptexDiskImage,  . patchableCryptexDiskImage: 
86+                         str +=  "  (Installed) " 
87+                     } 
8588                } 
8689                Current . logging. log ( str) 
8790            } 
@@ -118,7 +121,7 @@ public class RuntimeInstaller {
118121            let  dmgUrl  =  try   await  downloadOrUseExistingArchive ( runtime:  matchedRuntime,  to:  destinationDirectory,  downloader:  downloader) 
119122            try   await  installFromImage ( dmgUrl:  dmgUrl) 
120123			deleteIfNeeded ( dmgUrl) 
121-         case  . cryptexDiskImage: 
124+         case  . cryptexDiskImage,   . patchableCryptexDiskImage : 
122125            try   await  downloadAndInstallUsingXcodeBuild ( runtime:  matchedRuntime) 
123126        } 
124127    } 
@@ -379,7 +382,7 @@ fileprivate struct PrintableRuntime {
379382    let  betaNumber :  Int ? 
380383    let  version :  String 
381384    let  build :  String 
382-     var  state :  InstalledRuntime . Kind ?   =  nil 
385+     var  kind :  InstalledRuntime . Kind ?   =  nil 
383386    var  hasDuplicateVersion   =  false 
384387
385388    var  completeVersion :  String  { 
0 commit comments