handle android and swap to os icons
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user