Update Electron
This commit is contained in:
parent
cae6d582ac
commit
c84ee948f5
22 changed files with 763 additions and 152 deletions
8
client-electron/electron/electron-env.d.ts
vendored
8
client-electron/electron/electron-env.d.ts
vendored
|
|
@ -27,4 +27,12 @@ interface Window {
|
|||
ipcRenderer: import('electron').IpcRenderer
|
||||
electronRuntime: boolean
|
||||
platform: NodeJS.Platform
|
||||
adbNativeTcpSocket: {
|
||||
getProp(serial: string, key: string): Promise<string>
|
||||
getDevices(): Promise<{ name: string; serial: string }[]>
|
||||
connect(host: string, port: number): Promise<{ name: string; serial: string }>
|
||||
shell(serial: string, command: string, callback: (chunk: Uint8Array) => void): Promise<void>
|
||||
spawn(serial: string, command: string, callback: (chunk: Uint8Array) => void): Promise<void>
|
||||
disconnect(): Promise<void>
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue