Merge branch 'develop' into auth-overhaul

This commit is contained in:
Huskydog9988
2025-03-23 20:33:46 -04:00
7 changed files with 1041 additions and 42 deletions

View File

@ -1,15 +1,11 @@
import { Platform } from "@prisma/client";
export function parsePlatform(platform: string) {
switch (platform) {
switch (platform.toLowerCase()) {
case "linux":
case "Linux":
return Platform.Linux;
case "windows":
case "Windows":
return Platform.Windows;
case "macOS":
case "MacOS":
case "mac":
case "macos":
return Platform.macOS;