Fixed: fixed bug scrcpy and shell is disconnect when switch page

This commit is contained in:
Kenta420 2024-02-19 14:24:05 +07:00
parent 9543d4541c
commit 0fe469b5c6
43 changed files with 1378 additions and 1366 deletions

View file

@ -2,6 +2,7 @@ import { app, BrowserWindow, ipcMain, shell } from 'electron'
import path from 'node:path'
import deeplink from './deeplink'
import { eventGetKeyChain } from './keychain'
import { AdbDaemon } from './adb'
// The built directory structure
//
@ -122,6 +123,9 @@ app.whenReady().then(() => {
// deeplink
deeplink(app, win, ipcMain, shell)
// adb
AdbDaemon(win, ipcMain)
//keychain
eventGetKeyChain(ipcMain)
})