this is aids
This commit is contained in:
parent
a273570f29
commit
ee589d7975
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ test("Launch electron app", async () => {
|
||||||
console.log(aa)
|
console.log(aa)
|
||||||
console.log(__dirname)
|
console.log(__dirname)
|
||||||
|
|
||||||
const electronApp = await electron.launch({ args: [join(__dirname, "../main")] });
|
const electronApp = await electron.launch({ args: [join(__dirname, "../../build/index.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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue