electron / electron/windows-installer

How do I see console.log output in the squirrelEvent

Open
#397 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.6k
Forks
267
Avg merge
5h 38m
Merged PRs (30d)
1

Description

Hi,

I have copy and pasted the sample code in to my main.js

```
switch (squirrelEvent) {
case "--squirrel-install":
console.log("install event ========================");
spawn("powershell.exe", [`${appFolder}/../appx/install.ps1`]);
````

How do I see output of the console.log?

I did `SET DEBUG=*`

I run `setup.exe` in the powershell. But there is no output in the terminal.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.