mirror of
https://github.com/YuzuZensai/Discord-Presence-Relay.git
synced 2026-09-13 17:01:36 +00:00
10 lines
370 B
TypeScript
10 lines
370 B
TypeScript
import { PosixPlatform } from './posix'
|
|
import { UnsupportedPlatform } from './unsupported'
|
|
import type { RelayPlatform } from './types'
|
|
|
|
export { MAX_SOCKETS } from './types'
|
|
export type { ClaimedSocket, ProcessInfo, RelayPlatform } from './types'
|
|
|
|
export const platform: RelayPlatform =
|
|
process.platform === 'win32' ? new UnsupportedPlatform() : new PosixPlatform()
|