electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

Code signing flexibility for multiple Windows targets

Open smasuda-isi opened this issue 5 months ago • 1 comments

  • Electron-Builder Version: 24.6.3
  • Node Version: 18.13.0
  • Electron Version: 26.0.0
  • Electron Type (current, beta, nightly):
  • Target: Windows

Is there any way to designate specific Windows targets to sign? I want to build an unsigned zip for easy testing and a signed AppX for deployment.

The only way I can think of to do this currently is to have 2 separate electron-builder config files.

smasuda-isi avatar Jan 26 '24 18:01 smasuda-isi

I think you can use nsis.signAndEditExecutable: false and appx.signAndEditExecutable: true in your config? https://www.electron.build/configuration/win

mmaietta avatar Jan 30 '24 20:01 mmaietta