handle android and swap to os icons

This commit is contained in:
Garret Patti
2026-04-12 11:53:27 -04:00
parent 625539f35e
commit d3e1bf049b
8 changed files with 100 additions and 5 deletions

View File

@@ -12,6 +12,7 @@ function platformForFile(name: string): GamePlatform | null {
if (lower.endsWith('.zip')) return 'windows'
if (lower.endsWith('.tar.gz')) return 'linux'
if (lower.endsWith('.dmg')) return 'macos'
if (lower.endsWith('.apk')) return 'android'
return null
}