mirror of
https://github.com/YuzuZensai/Discord-Presence-Relay.git
synced 2026-09-14 01:08:50 +00:00
✨ feat: primary promote and locking
This commit is contained in:
@@ -9,6 +9,10 @@ export class UnsupportedPlatform implements RelayPlatform {
|
||||
throw NOT_SUPPORTED
|
||||
}
|
||||
|
||||
ipcSocketPath(): string {
|
||||
throw NOT_SUPPORTED
|
||||
}
|
||||
|
||||
removeFakeSocket(): void {
|
||||
throw NOT_SUPPORTED
|
||||
}
|
||||
@@ -45,6 +49,10 @@ export class UnsupportedPlatform implements RelayPlatform {
|
||||
return false
|
||||
}
|
||||
|
||||
async removeStaleIpcSocket(): Promise<void> {
|
||||
throw NOT_SUPPORTED
|
||||
}
|
||||
|
||||
getInstanceProcess(): ProcessInfo | null {
|
||||
return null
|
||||
}
|
||||
@@ -52,4 +60,16 @@ export class UnsupportedPlatform implements RelayPlatform {
|
||||
getPeerProcess(): ProcessInfo | null {
|
||||
return null
|
||||
}
|
||||
|
||||
killProcess(): boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
isProcessAlive(): boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
launchExecutable(): boolean {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user