this wont work

This commit is contained in:
Core 2022-02-01 12:24:09 +00:00
parent bf8a326509
commit 4bc766feb1
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6

View file

@ -15,7 +15,7 @@ test("Launch electron app", async () => {
console.log(fs.readdirSync(paths.main)) console.log(fs.readdirSync(paths.main))
const electronApp = await electron.launch({ args: [paths.mainBuild] }); const electronApp = await electron.launch({ args: ['main.js'] });
const appPath = await electronApp.evaluate(async ({ app }) => { const appPath = await electronApp.evaluate(async ({ app }) => {
// This runs in the main Electron process, parameter here is always // This runs in the main Electron process, parameter here is always