Browse Source

release: parse notes for visionOS

osy 1 year ago
parent
commit
10bf519dc0
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Platform/UTMReleaseHelper.swift

+ 5 - 0
Platform/UTMReleaseHelper.swift

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