-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
- Electron-Builder Version: 22.2.0
- Node Version: 14.16.0
- Electron Version: 17.4.9
- Electron Type (current, beta, nightly): current
- Electron Updater: 5.2.1
- Target: nsis
Using Electron updater and git hub provider for auto update. After the update downloaded from github, A JavaScript error message displayed.
[Window Title]
Error
[Main Instruction]
A JavaScript error occurred in the main process
[Content]
Uncaught Exception:
Error: Command failed: powershell.exe -NoProfile -NonInteractive -InputFormat None -Command Get-AuthenticodeSignature -LiteralPath 'C:\Users\Administrator\AppData\Local\testApp-updater\pending\temp-update.exe' | ConvertTo-Json -Compress | ForEach-Object { [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($_)) }
at ChildProcess.exithandler (node:child_process:406:12) at ChildProcess.emit (node:events:390:28) at maybeClose (node:internal/child_process:1064:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
[OK]
This is occurring only in Windows thin clients. I couldn't able to reproduce in my windows laptop. I tried few other Windows laptops to test, but I couldn't able to reproduce it other than thin clients.
I tried to manually run this command to see, if there is any issue. but the command is executed fine without any error.