mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-06 07:57:06 +08:00
make DependenciesSetupProgressIndicatorDialog support execute more than 1 tasks (pervious support download puppeteer only)
This commit is contained in:
@@ -130,7 +130,10 @@ export function createMainWindow(): void {
|
||||
})
|
||||
|
||||
ipcMain.handle('check-dependencies', async () => {
|
||||
return await checkPuppeteerExecutable()
|
||||
const [puppeteerExecutableAvailable] = await Promise.all([checkPuppeteerExecutable()])
|
||||
return {
|
||||
puppeteerExecutableAvailable
|
||||
}
|
||||
})
|
||||
|
||||
let subProcessOfCheckAndDownloadDependencies: ChildProcess | null = null
|
||||
|
||||
Reference in New Issue
Block a user