Explorar o código

release: parse notes for visionOS

osy hai 1 ano
pai
achega
10bf519dc0
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      Platform/UTMReleaseHelper.swift

+ 5 - 0
Platform/UTMReleaseHelper.swift

@@ -100,6 +100,11 @@ class UTMReleaseHelper: ObservableObject {
                     currentSection.body.append(description)
                 }
                 #endif
+                #if os(visionOS)
+                if platform.hasPrefix("visionOS") {
+                    currentSection.body.append(description)
+                }
+                #endif
                 if platform != "iOS SE" && platform.hasPrefix("iOS") {
                     // should we also parse versions?
                     currentSection.body.append(description)