Add iOS 18.4 and Unicode 16 support

This commit is contained in:
2025-03-03 20:58:36 -05:00
parent 05805f72d6
commit 47a4b1402d
8 changed files with 17 additions and 13 deletions
+6 -1
View File
@@ -17,6 +17,7 @@ public enum EmojiManager {
case v14 = 14
case v15 = 15
case v15_1 = 15.1
case v16 = 16
public var fileName: String {
return "emojis_v\(versionIdentifier)"
@@ -32,11 +33,15 @@ public enum EmojiManager {
return "15.0"
case .v15_1:
return "15.1"
case .v16:
return "16.0"
}
}
public static func getSupportedVersion() -> Version {
if #available(iOS 17.4, *) {
if #available(iOS 18.4, *) {
return .v16
} else if #available(iOS 17.4, *) {
return .v15_1
} else if #available(iOS 16.4, *) {
return .v15
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -18,7 +18,7 @@ struct EmojiDownloader: ParsableCommand, AsyncParsableCommand {
)
@Argument var path: String
@Option(name: .shortAndLong) var version: EmojiManager.Version = .v15
@Option(name: .shortAndLong) var version: EmojiManager.Version = .v16
private func getPath() -> String {
#if DEBUG