feat: primary promote and locking

This commit is contained in:
2026-07-25 02:08:36 +07:00
parent a961132e2c
commit 6f9221698a
8 changed files with 436 additions and 30 deletions
+20
View File
@@ -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
}
}