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