feat: add mac as platform

This commit is contained in:
DecDuck
2025-03-11 19:02:53 +11:00
parent ffc1537d7f
commit 789361ea73
9 changed files with 41 additions and 24 deletions

View File

@ -8,6 +8,10 @@ export function parsePlatform(platform: string) {
case "windows":
case "Windows":
return Platform.Windows;
case "macOS":
case "MacOS":
case "mac":
return Platform.macOS;
}
return undefined;