From eadf8472abfb88ee322f872fd8a074666723282b Mon Sep 17 00:00:00 2001 From: Kenneth Shaw Date: Sun, 31 Mar 2024 07:32:57 +0700 Subject: [PATCH] Adding WindowsARM64 platform type --- client.go | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/client.go b/client.go index 11df0d8..87eff20 100644 --- a/client.go +++ b/client.go @@ -115,20 +115,21 @@ type PlatformType string // Platform types. const ( - All PlatformType = "all" - Android PlatformType = "android" - ChromeOS PlatformType = "chromeos" - Fuchsia PlatformType = "fuchsia" - IOS PlatformType = "ios" - LacrosARM32 PlatformType = "lacros_arm32" - LacrosARM64 PlatformType = "lacros_arm64" - Lacros PlatformType = "lacros" - Linux PlatformType = "linux" - MacARM64 PlatformType = "mac_arm64" - Mac PlatformType = "mac" - Webview PlatformType = "webview" - Windows64 PlatformType = "win64" - Windows PlatformType = "win" + All PlatformType = "all" + Android PlatformType = "android" + ChromeOS PlatformType = "chromeos" + Fuchsia PlatformType = "fuchsia" + IOS PlatformType = "ios" + LacrosARM32 PlatformType = "lacros_arm32" + LacrosARM64 PlatformType = "lacros_arm64" + Lacros PlatformType = "lacros" + Linux PlatformType = "linux" + MacARM64 PlatformType = "mac_arm64" + Mac PlatformType = "mac" + Webview PlatformType = "webview" + Windows64 PlatformType = "win64" + WindowsARM64 PlatformType = "win_arm64" + Windows PlatformType = "win" ) // String satisfies the [fmt.Stinger] interface. @@ -170,6 +171,8 @@ func (typ *PlatformType) UnmarshalText(buf []byte) error { *typ = Webview case Windows64: *typ = Windows64 + case WindowsARM64: + *typ = WindowsARM64 case Windows: *typ = Windows default: