refactor the folder structure in ui main process CHECK_AND_DOWNLOAD_DEPENDENCIES flow; fix the cannot read property on vm issue in BootstrapSplash in renderer process

This commit is contained in:
geekgeekrun
2024-03-09 09:15:55 +08:00
parent 4b0a1aa777
commit e69851c008
10 changed files with 232 additions and 253 deletions
+2 -4
View File
@@ -14,10 +14,8 @@ import {
import { ChildProcess } from 'child_process'
import * as JSONStream from 'JSONStream'
import { checkCookieListFormat } from '../../common/utils/cookie'
import {
DOWNLOAD_ERROR_EXIT_CODE,
getAnyAvailablePuppeteerExecutable
} from '../flow/CHECK_AND_DOWNLOAD_DEPENDENCIES'
import { getAnyAvailablePuppeteerExecutable } from '../flow/CHECK_AND_DOWNLOAD_DEPENDENCIES/utils/puppeteer-executable/index'
import { DOWNLOAD_ERROR_EXIT_CODE } from '../flow/CHECK_AND_DOWNLOAD_DEPENDENCIES/index'
import { sleep } from '@geekgeekrun/utils/sleep.mjs'
let mainWindow: BrowserWindow | null = null