-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
#
- Version: 11.5.1
- Target: ia32
We have a Windows 7 host running jenkins and I'm trying to build an electron app with electron-builder. The Jenkins service is using the SYSTEM user. During the build process electron-builder creates a folder under C:\Windows\System32\config\systemprofile\AppData\Local , the local app data folder of the SYSTEM user. From this folder C:\Users\at-builduser.SIV\AppData\Local\electron-builder\cache\winCodeSign\winCodeSign-1.6.0\windows-6\signtool.exe is called. This process fails which I can reproduce on the CMD when I start signtool.exe with no arguments (application error). If I put this folder in a different location I can execute signtool.exe. In addition, if I copy the electron-builder folder on my local machine from myuser\AppData\local to C:\Windows\System32\config\systemprofile\AppData\Local I get the same error when trying to launch it from there. So it looks like that something is prohibiting to run it from the SYSTEM local app folder. Is it possible to change the folder where electron-builder puts it folder to?