Fix zip and dmg automation showing null platform (#24346)

#23020
This commit is contained in:
Dante Catalfamo 2024-12-04 11:00:28 -05:00 committed by GitHub
parent 337d4955a0
commit ca54b2264e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -0,0 +1 @@
- Fix zip and dmg automations showing null platform for installer

View file

@ -25,6 +25,8 @@ import TooltipWrapper from "components/TooltipWrapper";
const getPlatformDisplayFromPackageExtension = (ext: string | undefined) => {
switch (ext) {
case "pkg":
case "zip":
case "dmg":
return "macOS";
case "deb":
case "rpm":