add some logs
This commit is contained in:
parent
f1ae89629e
commit
f944cd2081
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ test("Launch electron app", async () => {
|
||||||
|
|
||||||
console.log(paths)
|
console.log(paths)
|
||||||
|
|
||||||
console.log(fs.readdirSync(paths.mainBuild))
|
console.log(fs.readdirSync(paths.main))
|
||||||
|
|
||||||
const electronApp = await electron.launch({ args: ['build/index.js'], cwd: paths.root });
|
const electronApp = await electron.launch({ args: ['build/index.js', '--enable-logging','--no-sandbox'], cwd: paths.root });
|
||||||
|
|
||||||
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